
Here is a quick overview of the settings. This invisible fill will let the SVG element recognize clicks on the center of itself in addition to the visible edges.Īfter we have created the hotspots, let’s save the file as optimized svg. We’ll give our paths both a fill and a stroke, but drop the opacity of the fill to zero. We recommend selecting, “link”, as the import type and “default import resolution” for the Image DPI. Let’s begin by launching Inkscape 1.0 beta and opening our image there. We’ll use this “find all mistakes” game as our example. Now your exported hotspots should have ids set in the code. Remember to click the “set” button when done. From there you can change the automatically generated ID to something that makes more sense. If you want to give names/IDs to your hotspots in Inkscape, you can do it by right-clicking on an object and choosing “object properties”.

You can use them to create really accurate hotspots on your web pages. In this tutorial we’ll create responsive SVG image maps with Inkscape.
