leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
24 lines (23 loc) • 880 B
JavaScript
/**
* @name PinPentagon
* @preview 
* @type {Array}
*/
export const PinPentagon = [
"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",
},
],
],
];