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
Elevation
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="elevation" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M11.5 7.5c4.5 0 8 2.5 8 6.5 0 4.5-4.5 7-9 7S3 18 3 14.5s4-7 8.5-7z"/><path d="M12 11c2.5 0 4.5 1.25 4.5 3.25S14.5 17.5 12 17.5 7.5 16.5 7.5 14.5 9.5 11 12 11z"/><circle cx="12" cy="14.25" r="1.25" fill="currentColor" stroke="none"/></svg>
How to use Elevation
MapLibre GL
ts
import { markDataUrl } from "@spatly/marks";
map.loadImage(markDataUrl("elevation", { size: 64 }), (err, img) => {
if (!err && img) map.addImage("elevation", img);
});
Leaflet
ts
import { markDataUrl } from "@spatly/marks";
const icon = L.icon({
iconUrl: markDataUrl("elevation", { 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="elevation.svg" width="24" height="24" alt="Elevation" />
React
tsx
import { Mark } from "@spatly/marks";
<Mark name="elevation" size={24} />
Similar marks
Use Elevation 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°