map = html`<svg viewBox="0 0 ${width} ${height}" style="display: block;">
<defs>
${export_paths.map(
(s, i) =>
`<marker id="triangle${i}" viewBox="0 0 2.5 2.5"
refX="1" refY="1.25"
markerUnits="strokeWidth"
markerWidth="2.5" markerHeight="2.5"
orient="auto">
<path d="M 0 0 L 2.5 1.25 L 0 2.5 z" fill-opacity="0.7" fill="${s.properties.startcolor}"/>
</marker>`
)}
</defs>
<path d="${path(graticule)}" fill="none" stroke="#eee"></path>
<path d="${path(outline)}" fill="none" stroke="#ddd"></path>
<path d="${path(world10m_wound)}" fill="#ccc" stroke="#aaa"></path>
${export_paths.map(
(s, i) =>
`<path d="${path(s)}" fill="none" stroke="${
s.properties.startcolor
}" stroke-width="${Math.max(
1.5,
s.properties.percentage * 10
)}" marker-end="url(#triangle${i})" stroke-opacity="0.7" ></path>`
)}
</svg>`