leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
24 lines (23 loc) • 1.98 kB
JavaScript
/**
* @name PinStar
* @preview 
* @type {Array}
*/
export const PinStar = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "41",
fill: "currentColor",
viewBox: "0 0 30 41",
},
[
[
"path",
{
d: "M13 .82a2.85 2.85 0 0 1 4 0l1.94 1.9.2.18c.5.4 1.12.63 1.76.63l2.72.03a2.85 2.85 0 0 1 2.82 2.82l.03 2.72.01.27c.07.64.35 1.23.8 1.7l1.9 1.94a2.85 2.85 0 0 1 0 3.99l-1.9 1.94a2.85 2.85 0 0 0-.8 1.69l-.01.27-.03 2.72a2.85 2.85 0 0 1-2.53 2.8l-.29.02-1.33.02a2 2 0 0 0-1.86 1.32l-4.47 12.5-.02.08-.05.1c-.05.1-.06.1-.09.13a1 1 0 0 1-.7.4l-.12.01a1 1 0 0 1-.92-.64l-4.5-12.58a2 2 0 0 0-1.7-1.32h-.15l-1.33-.02a2.85 2.85 0 0 1-2.82-2.82l-.03-2.72c0-.73-.3-1.44-.81-1.96L.82 17a2.85 2.85 0 0 1 0-4l1.9-1.94c.51-.52.8-1.23.81-1.96l.03-2.72.02-.29a2.85 2.85 0 0 1 2.8-2.53l2.72-.03a2 2 0 0 0 .1 0h.08l.1-.01a2.85 2.85 0 0 0 1.68-.8l1.95-1.9Z",
},
],
],
];