leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
24 lines (23 loc) • 836 B
JavaScript
/**
* @name PinDiamond
* @preview 
* @type {Array}
*/
export const PinDiamond = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "41",
fill: "currentColor",
viewBox: "0 0 30 41",
},
[
[
"path",
{
d: "M12.2 1.16a3.97 3.97 0 0 1 5.6 0L28.85 12.2a3.99 3.99 0 0 1 .39 5.16L15.93 40.4a1 1 0 0 1-1.83.05L.69 17.24a3.97 3.97 0 0 1 .47-5.05L12.2 1.16Z",
},
],
],
];