leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 1.99 kB
JavaScript
/**
* @name PointPentagonBorder2
* @preview 
* @type {Array}
*/
export const PointPentagonBorder2 = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "30",
fill: "currentColor",
viewBox: "0 0 30 30",
},
[
[
"path",
{
d: "M21.72 2a4.14 4.14 0 0 1 3.93 2.76l4.15 12.36a3.93 3.93 0 0 1-1.5 4.48l-10.87 7.64a4.25 4.25 0 0 1-4.86 0L1.7 21.6a3.93 3.93 0 0 1-1.5-4.48L4.35 4.77A4.12 4.12 0 0 1 8.28 2h13.44Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M21.72 2a4.14 4.14 0 0 1 3.93 2.76l4.15 12.36a3.93 3.93 0 0 1-1.5 4.48l-10.87 7.64a4.25 4.25 0 0 1-4.86 0L1.7 21.6a3.93 3.93 0 0 1-1.5-4.48L4.35 4.77A4.12 4.12 0 0 1 8.28 2h13.44ZM8.28 4c-.96 0-1.76.6-2.03 1.4L2.1 17.76c-.27.79.01 1.68.76 2.2l10.86 7.64c.76.53 1.8.53 2.56 0l10.87-7.64a1.93 1.93 0 0 0 .75-2.2L23.75 5.4A2.13 2.13 0 0 0 21.72 4H8.28Z",
"clip-rule": "evenodd",
},
],
],
];