leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 1.94 kB
JavaScript
/**
* @name PinPentagonPanel
* @preview 
* @type {Array}
*/
export const PinPentagonPanel = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "41",
fill: "currentColor",
viewBox: "0 0 30 41",
},
[
[
"path",
{
d: "M22.49 2c1.21 0 2.31.71 2.8 1.82l4.45 10c.38.86.34 1.86-.11 2.7L15.88 40.48a1 1 0 0 1-1.76 0L.37 16.52a3.06 3.06 0 0 1-.1-2.7l4.43-10A3.1 3.1 0 0 1 7.51 2h14.98Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M22.49 2c1.21 0 2.31.71 2.8 1.82l4.45 10c.38.86.34 1.86-.11 2.7L15.88 40.48a1 1 0 0 1-1.76 0L.37 16.52a3.06 3.06 0 0 1-.1-2.7l4.43-10A3.1 3.1 0 0 1 7.51 2h14.98ZM7.42 4c-.39 0-.76.22-.96.59l-.06.12-4.3 9.86c-.19.43-.1.93.19 1.27l11.89 13.78c.22.25.52.38.82.38.3 0 .6-.13.82-.38l11.9-13.78c.29-.34.37-.84.18-1.27l-4.3-9.89A1.1 1.1 0 0 0 22.57 4H7.42Z",
"clip-rule": "evenodd",
},
],
],
];