leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 3.71 kB
JavaScript
/**
* @name PinTriangleBorder2
* @preview 
* @type {Array}
*/
export const PinTriangleBorder2 = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "41",
fill: "currentColor",
viewBox: "0 0 30 41",
},
[
[
"path",
{
d: "M15 0c.53 0 1.08.14 1.56.44C24.12 5.06 29.3 12.96 29.99 21.9a3.06 3.06 0 0 1-1.66 2.97 29.2 29.2 0 0 1-5.26 2.04 3 3 0 0 0-1.77 1.49l-.07.13-5.26 11.78-.04.08a1 1 0 0 1-1.82 0l-.03-.05-5.53-11.91a3 3 0 0 0-1.72-1.55l-.06-.02a29.19 29.19 0 0 1-5.1-2A3.06 3.06 0 0 1 .01 21.9c.52-6.8 3.65-13 8.44-17.62A26.35 26.35 0 0 1 12.65.9l.02-.01.03-.02.65-.41.18-.1.18-.1c.4-.18.84-.27 1.28-.26Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M15 0c.53 0 1.08.14 1.56.44C24.12 5.06 29.3 12.96 29.99 21.9a3.06 3.06 0 0 1-1.66 2.97 29.5 29.5 0 0 1-5.26 2.04 3 3 0 0 0-1.77 1.49l-.07.13-5.26 11.78a3.2 3.2 0 0 0-.04.08 1 1 0 0 1-1.83 0l-.02-.05-5.53-11.91a3 3 0 0 0-1.72-1.55l-.06-.02a29.19 29.19 0 0 1-5.1-2A3.06 3.06 0 0 1 .01 21.9c.52-6.8 3.65-13 8.44-17.62A26.35 26.35 0 0 1 12.65.9l.02-.01.03-.02.65-.41.18-.1.18-.1c.4-.18.84-.27 1.28-.26Zm-.05 2a.98.98 0 0 0-.4.08l-.05.02-.03.02-.08.05h-.02l-.6.38-.02.02h-.01l-.03.03c-1.4.91-2.68 1.95-3.84 3.1l-.01.01-.01.02h-.01A25.4 25.4 0 0 0 2 22.06v.17c.03.37.25.7.57.86l.57.28a27.8 27.8 0 0 0 4.18 1.58l.04.01.03.01.06.02.04.02a5 5 0 0 1 2.87 2.57v.02l4.18 8.99a.5.5 0 0 0 .9 0l3.97-8.86v-.03l.03-.04.05-.12.02-.02v-.03h.01a5 5 0 0 1 2.96-2.48h.01l.03-.01h.01a27.2 27.2 0 0 0 4.9-1.91l.13-.08c.29-.2.47-.56.44-.95l-.07-.76-.1-.75a25.96 25.96 0 0 0-12.31-18.4A.99.99 0 0 0 15 2h-.04Z",
"clip-rule": "evenodd",
},
],
],
];