leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 4.15 kB
JavaScript
/**
* @name ChipStarPanel
* @preview 
* @type {Array}
*/
export const ChipStarPanel = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "33",
fill: "currentColor",
viewBox: "0 0 30 33",
},
[
[
"path",
{
d: "M13 .82a2.85 2.85 0 0 1 4 0l1.94 1.9c.52.51 1.23.8 1.96.81l2.72.03a2.85 2.85 0 0 1 2.82 2.82l.03 2.72c0 .74.3 1.44.81 1.96l1.9 1.95a2.85 2.85 0 0 1 0 3.99l-1.9 1.94c-.51.52-.8 1.23-.81 1.96l-.03 2.72a2.85 2.85 0 0 1-1.27 2.35l-7.64 6.13a3.98 3.98 0 0 1-5.06 0l-7.64-6.13a2.85 2.85 0 0 1-1.27-2.35l-.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.22.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",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
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-1.27 2.34l-7.64 6.14a3.98 3.98 0 0 1-5.06 0l-7.64-6.13a2.85 2.85 0 0 1-1.27-2.35l-.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.9Zm2.6 1.43a.85.85 0 0 0-1.2 0l-1.94 1.9a4.88 4.88 0 0 1-3.34 1.4l-2.72.02a.85.85 0 0 0-.84.84l-.03 2.72a4.85 4.85 0 0 1-1.38 3.34l-1.9 1.95a.85.85 0 0 0 0 1.18l1.9 1.95c.87.9 1.37 2.09 1.38 3.34l.03 2.72c0 .46.38.84.84.84l2.72.03a4.8 4.8 0 0 1 3.34 1.38l1.95 1.9c.33.33.85.33 1.18 0l1.95-1.9a4.86 4.86 0 0 1 3.34-1.38l2.72-.03c.46 0 .84-.38.84-.84l.03-2.72a4.8 4.8 0 0 1 1.38-3.34l1.9-1.95a.85.85 0 0 0 0-1.18l-1.9-1.95a4.85 4.85 0 0 1-1.38-3.34l-.03-2.72a.85.85 0 0 0-.84-.84l-2.72-.03a4.85 4.85 0 0 1-3.34-1.38l-1.95-1.9Z",
"clip-rule": "evenodd",
},
],
],
];