leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 4.88 kB
JavaScript
/**
* @name TackPentagonPanel
* @preview 
* @type {Array}
*/
export const TackPentagonPanel = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "35",
fill: "currentColor",
viewBox: "0 0 30 35",
},
[
[
"path",
{
d: "M21.86 2h.06l.12.01.18.02h.06l.33.06.02.01.31.08.04.01a4.22 4.22 0 0 1 .62.25l.02.01c.3.16.59.35.85.57l.19.18.17.17.06.08.1.12.05.06.11.15.04.05a3.93 3.93 0 0 1 .21.37l.05.1.07.14.04.09.09.23 4.15 12.36c.08.26.14.52.17.78l.01.14.01.14v.47l-.02.18-.02.13-.03.16-.03.14-.04.15-.04.14-.06.15-.05.14-.06.14-.06.13a4 4 0 0 1-.1.17c0 .03-.03.06-.04.09a4.08 4.08 0 0 1-.95 1.08c-.02 0-.03.02-.05.04l-.11.08-.04.03-.03.02-.01.01-9.6 6.74a3 3 0 0 0-1 1.23l-.1.22L16 34.18v.03l-.01.02-.04.1v.02l-.05.1a.55.55 0 0 1-.07.11s0 .02-.02.03a1 1 0 0 1-.7.4h-.12a1 1 0 0 1-.92-.64l-1.42-3.98-.2-.55a3 3 0 0 0-.91-1.3l-.17-.14L1.7 21.6a4.02 4.02 0 0 1-1.34-1.61c-.4-.89-.48-1.9-.16-2.87l4.13-12.3V4.8l.02-.04.01-.03.04-.11.02-.05a3.88 3.88 0 0 1 .37-.7l.05-.09a4 4 0 0 1 .1-.13L5 3.57l.08-.1.1-.1.05-.06A4.11 4.11 0 0 1 8.28 2h13.58Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M21.86 2h.06l.12.02.18.01.06.01.32.06h.03l.31.09h.04a4.22 4.22 0 0 1 .62.25l.02.02c.3.15.59.34.85.56l.19.18.17.18.06.07.1.12.05.07.11.14.04.06a3.93 3.93 0 0 1 .21.37l.05.09.07.15.04.08.09.24 4.15 12.36c.08.26.14.52.17.78l.01.14.01.13v.48l-.02.17-.02.13-.03.16-.03.14-.04.16-.04.13-.06.16-.05.13-.06.14-.06.14a4 4 0 0 1-.1.16c0 .03-.03.06-.04.09a4.15 4.15 0 0 1-.95 1.08l-.05.04-.11.09-.04.02-.03.02-.01.01-9.6 6.75a3 3 0 0 0-1 1.23l-.1.21L16 34.2v.02l-.01.02-.04.1v.03l-.05.1a.56.56 0 0 1-.07.1l-.02.03a1 1 0 0 1-.7.4l-.12.01a1 1 0 0 1-.92-.64l-1.42-3.98-.2-.56a3 3 0 0 0-.92-1.3l-.17-.13-9.66-6.8a4.02 4.02 0 0 1-1.34-1.61c-.4-.88-.48-1.9-.16-2.86L4.33 4.82V4.8l.02-.04.01-.04.04-.1.02-.06a3.9 3.9 0 0 1 .37-.7l.05-.08.1-.14.06-.08.08-.1.1-.1.05-.06A4.12 4.12 0 0 1 8.28 2h13.58ZM8.28 4c-.9 0-1.66.53-1.98 1.26l-.05.14L2.1 17.77c-.27.78.01 1.67.75 2.2l10.87 7.63c.76.54 1.8.54 2.56 0l10.86-7.64a1.93 1.93 0 0 0 .76-2.2L23.75 5.4A2.12 2.12 0 0 0 21.7 4H8.28Z",
"clip-rule": "evenodd",
},
],
],
];