leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 4.1 kB
JavaScript
/**
* @name ChipStarBorder
* @preview 
* @type {Array}
*/
export const ChipStarBorder = [
"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.9Zm3.3.72c-.73-.7-1.88-.7-2.6 0l-1.94 1.9c-.7.7-1.66 1.1-2.65 1.1l-2.72.03c-1 .01-1.82.82-1.83 1.83L4.53 9.1c0 1-.4 1.94-1.1 2.65l-1.9 1.95c-.7.71-.7 1.86 0 2.58l1.9 1.95c.7.7 1.1 1.66 1.1 2.65l.03 2.72c0 .56.25 1.05.65 1.39l.18.13.03.03.04.03 7.64 6.13a2.99 2.99 0 0 0 3.8 0l7.64-6.14.04-.02.03-.03c.5-.33.82-.89.83-1.52l.03-2.72v-.19c.06-.92.45-1.8 1.1-2.46l1.9-1.95c.7-.72.7-1.87 0-2.58l-1.9-1.95a3.85 3.85 0 0 1-1.1-2.65l-.03-2.72c-.01-1-.82-1.82-1.83-1.83l-2.72-.03c-1 0-1.94-.4-2.65-1.1l-1.95-1.9Z",
"clip-rule": "evenodd",
},
],
],
];