leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
24 lines (23 loc) • 1.75 kB
JavaScript
/**
* @name PointStar
* @preview 
* @type {Array}
*/
export const PointStar = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "30",
fill: "currentColor",
viewBox: "0 0 30 30",
},
[
[
"path",
{
d: "M13 .81a2.85 2.85 0 0 1 4 0l1.94 1.9c.52.52 1.23.81 1.96.82l2.72.03a2.85 2.85 0 0 1 2.82 2.82l.03 2.72c0 .73.3 1.44.81 1.96l1.9 1.95a2.85 2.85 0 0 1 0 3.98l-1.9 1.95c-.51.52-.8 1.23-.81 1.96l-.03 2.72a2.85 2.85 0 0 1-2.82 2.82l-2.72.03c-.73 0-1.44.3-1.96.81l-1.95 1.9a2.85 2.85 0 0 1-3.98 0l-1.95-1.9a2.85 2.85 0 0 0-1.96-.81l-2.72-.03a2.85 2.85 0 0 1-2.82-2.82l-.03-2.72c0-.73-.3-1.44-.81-1.96l-1.9-1.95a2.85 2.85 0 0 1 0-3.98l1.9-1.95c.51-.52.8-1.23.81-1.96l.03-2.72a2.85 2.85 0 0 1 2.82-2.82l2.72-.03c.73 0 1.44-.3 1.96-.81l1.95-1.9Z",
},
],
],
];