map = html`<svg viewBox="0 0 ${width} ${height}" style="display: block;">
<style>
.kreis { stroke: #eeeeee; stroke-width: 0.5; fill-opacity: 0.2; fill: white;}
.lir-loc { stroke: none; fill-opacity: 1.0; }
.probe-loc { stroke-width: 2; stroke: none; fill: white; fill-opacity: 0.8 }
.l-path { fill: none; stroke-width: 2; stroke: lightBlue; }
.kreis { fill-opacity: 0.8; }
</style>
<defs>
<path id="outline" d="${path(outline)}" />
<clipPath id="clip"><use xlink:href="${new URL("#outline", location)}" /></clipPath>
</defs>
<svg><g class="lir-loc" clip-path="url(${new URL("#clip", location)})">
<use xlink:href="${new URL("#outline", location)}" fill="#fff" />
<g>${kreise.features.map(l => `<path class="kreis" d="${path(l.geometry)}" style="fill: ${popKreisColor(l.properties.pop_density)}"></path>`)}</g>
<g>${landWithLirs.map(l => `<path d="${path(l.geometry)}" style="fill: ${lirCountColor(l.properties.lirCount)}"></path>`)}</g>
</g></svg>
<g>${landWithManyLirs.map(l => `<text x=${l.coords[0]} y=${l.coords[1]}>${l.name}</text>`)}</g>
<use xlink:href="${new URL("#outline", location)}" fill="none" stroke="#000" />
</svg>`