leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 2.16 kB
JavaScript
/**
* @name ChipPentagonBorder
* @preview 
* @type {Array}
*/
export const ChipPentagonBorder = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "33",
fill: "currentColor",
viewBox: "0 0 30 33",
},
[
[
"path",
{
d: "M21.71 2c1.8 0 3.38 1.12 3.94 2.77l4.15 12.36a3.9 3.9 0 0 1-1.06 4.1L17.9 31.76a3.99 3.99 0 0 1-5.8 0L1.23 21.22a3.91 3.91 0 0 1-1.03-4.1L4.35 4.78A4.12 4.12 0 0 1 8.28 2h13.43Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M21.71 2c1.8 0 3.38 1.12 3.94 2.76l4.15 12.36a3.94 3.94 0 0 1-1.06 4.12L17.9 31.75a4 4 0 0 1-5.8 0L1.23 21.21A3.91 3.91 0 0 1 .2 17.12L4.35 4.77A4.12 4.12 0 0 1 8.28 2h13.43ZM8.28 3C7 3 5.86 3.75 5.38 4.86l-.08.22-4.15 12.36a2.91 2.91 0 0 0 1.13 3.34l-.03.03L12.8 31.04l.03.02c.55.58 1.32.94 2.18.94h.16c.8-.05 1.5-.4 2.02-.94l.02-.02 10.84-10.52h.01v-.02a2.9 2.9 0 0 0 .8-3.06L24.7 5.08a3.11 3.11 0 0 0-2.73-2.07L21.71 3H8.28Z",
"clip-rule": "evenodd",
},
],
],
];