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