leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
37 lines (36 loc) • 5.43 kB
JavaScript
/**
* @name PinTeardropBorder2
* @preview 
* @type {Array}
*/
export const PinTeardropBorder2 = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "41",
fill: "currentColor",
viewBox: "0 0 30 41",
},
[
[
"path",
{
d: "M15 1a14 14 0 0 1 13.96 15.04l-.01.16-.02.17c0 .06 0 .11-.02.17 0 .06 0 .12-.02.18 0 .05 0 .1-.02.15a12.6 12.6 0 0 1-.05.35l-.02.16-.03.18-.02.1-.13.58v.03c-.2.82-.47 1.6-.8 2.36l-.02.05-.25.52-.01.03-.28.53-.01.03c-.51.91-1.12 1.76-1.81 2.54l-.03.03v.01C21 29 17 35 15.9 40.4a1 1 0 0 1-1.83 0C13 35 9 29 4.6 24.37h-.01l-.03-.04-.05-.06-.32-.37-.1-.13a14.26 14.26 0 0 1-.98-1.38l-.06-.09c-.1-.15-.18-.3-.27-.46l-.05-.1a14.02 14.02 0 0 1-.77-1.64l-.03-.08c-.13-.34-.25-.7-.36-1.06l-.04-.13-.14-.54-.01-.06-.13-.57-.02-.1-.03-.18-.02-.16-.03-.16-.03-.19c0-.05 0-.1-.02-.15 0-.06 0-.12-.02-.18l-.01-.17-.02-.17-.01-.16A14 14 0 0 1 15 1Z",
},
],
[
"path",
{ fill: "#fff", d: "M4.93 21.42Zm-.06-.04-.02-.01-.01-.02.03.03Z" },
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M15 1a14 14 0 0 1 13.96 15.04l-.01.16-.02.17c0 .06 0 .11-.02.17 0 .06 0 .12-.02.18 0 .05 0 .1-.02.15a12.6 12.6 0 0 1-.05.35l-.02.16-.03.18-.02.1-.13.58v.03c-.2.82-.47 1.6-.8 2.36l-.02.05-.25.52-.01.03-.28.53-.01.03c-.51.91-1.12 1.76-1.81 2.54l-.03.03v.01C21 29 17 35 15.9 40.4a1 1 0 0 1-1.83 0C13 35 9 29 4.6 24.37h-.01l-.03-.04-.05-.06-.32-.37-.1-.13a14.26 14.26 0 0 1-.98-1.38l-.06-.09c-.1-.15-.18-.3-.27-.46l-.05-.1a14.02 14.02 0 0 1-.77-1.64l-.03-.08c-.13-.34-.25-.7-.36-1.06l-.04-.13-.14-.54-.01-.06-.13-.57-.02-.1-.03-.18-.02-.16-.03-.16-.03-.19c0-.05 0-.1-.02-.15 0-.06 0-.12-.02-.18l-.01-.17-.02-.17-.01-.16A14 14 0 0 1 15 1Zm0 2A12 12 0 0 0 3.04 15.93v.1l.02.14.01.16.02.14c0 .04 0 .08.02.14l.04.3.02.13.03.14v.05l.01.01v.05l.1.47.01.02v.01l.01.02v.02l.12.45.02.05.02.07.3.9.03.07v.01l.18.41v.01l.03.08.19.39.06.13a11.98 11.98 0 0 0 .53.93l-.03-.04v-.01.02h.01l.01.03c.17.27.34.52.53.77l.09.13.23.29.08.1.28.32.05.06.03.04.02.03c3.31 3.49 6.51 7.85 8.43 12.27a.5.5 0 0 0 .92 0c1.92-4.42 5.11-8.78 8.42-12.27l.03-.03.03-.04c.53-.58.99-1.21 1.38-1.88l.17-.28v-.01l.01-.02.01-.02.22-.42.01-.02.02-.03.2-.43.01-.02v-.02h.01l.01-.03.2-.48c.2-.5.35-1 .48-1.53v-.04l.11-.48.01-.06v-.04l.04-.15.02-.13.02-.14a14.18 14.18 0 0 0 .04-.3v-.05l.02-.1.01-.14.01-.15.01-.08v-.05A12 12 0 0 0 15 3Z",
"clip-rule": "evenodd",
},
],
],
];