PNG
License
Spatly Marks are free to use in personal and commercial projects. Attribution is appreciated, not required. Do not resell the set as-is.
UI icons
Lock Domain
A free SVG map icon from Spatly Marks, an original first-party kit. Recolour and export it below, or open it straight in the studio.
SVG source
html
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" data-mark="lock-domain" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9.5" cy="10.5" r="7"/><path d="M2.5 10.5h14M9.5 3.5c-2.5 2.5-2.5 11.5 0 14"/><rect x="14" y="15" width="7.5" height="6.5" rx="1" fill="var(--sp-color-surface, #fff)"/><path d="M15.75 15v-1.75a2 2 0 0 1 4 0V15"/></svg>
How to use Lock Domain
MapLibre GL
ts
import { markDataUrl } from "@spatly/marks";
map.loadImage(markDataUrl("lock-domain", { size: 64 }), (err, img) => {
if (!err && img) map.addImage("lock-domain", img);
});
Leaflet
ts
import { markDataUrl } from "@spatly/marks";
const icon = L.icon({
iconUrl: markDataUrl("lock-domain", { size: 48, fill: "#e81860" }),
iconSize: [24, 24],
iconAnchor: [12, 12],
});
L.marker([41.0082, 28.9784], { icon }).addTo(map);
HTML
html
<!-- Paste the SVG straight in, or reference a saved file -->
<img src="lock-domain.svg" width="24" height="24" alt="Lock Domain" />
React
tsx
import { Mark } from "@spatly/marks";
<Mark name="lock-domain" size={24} />
Similar marks
Use Lock Domain on your own map.
Spatly Marks power every layer and annotation in the studio. Drop a GeoJSON and place them on live data.
41.0082°N 28.9784°E · z 11.3 · ⟂ 0°