leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
40 lines (39 loc) • 7.94 kB
JavaScript
/**
* @name TackPentagonBorder
* @preview 
* @type {Array}
*/
export const TackPentagonBorder = [
"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",
d: "M28.55 18.85h.01-.01Zm.44-.7v.01-.03.02ZM5.27 5.31v-.03.03Zm19.2-.7.02.03a.5.5 0 0 0-.05-.05l.03.02Zm-.05-.04h-.01Zm-.22-.11.03.02-.05-.02h.01Z",
},
],
[
"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 3h-.02l-.25.02h-.02A3.2 3.2 0 0 0 5.96 4l-.03.03-.03.03-.01.01-.01.01v.01h-.01v.01l-.02.02-.06.06v.02l-.05.05-.07.1-.01.02-.02.02-.01.03a3.1 3.1 0 0 0-.06.09l-.04.07-.06.1a2.89 2.89 0 0 0-.08.17l-.04.1v.02l-.02.02-.02.08-.01.01v.02l-.02.03-4.13 12.32a3 3 0 0 0 1.12 3.33l9.66 6.79.02.01.01.01.17.13.02.02h.01a4 4 0 0 1 1.02 1.28l.1.21.1.27.2.54.95 2.65a.5.5 0 0 0 .94 0l1.15-3.22v-.03l.1-.2v-.04a4 4 0 0 1 1.36-1.64l.1-.07 9.47-6.66.03-.02.02-.01.02-.02.02-.01.07-.05a.5.5 0 0 0 .03-.03l.03-.02a3.35 3.35 0 0 0 .47-.47l.03-.03.07-.1.01-.02.05-.07a3 3 0 0 0 .08-.12c0-.02.02-.03.02-.03v-.01l.02-.03.07-.12v-.02l.01-.02.01-.03h.01v-.02l.01-.01.03-.06.02-.05.01-.04.03-.06.03-.1a1.76 1.76 0 0 1 .02-.06v.02-.04l.02-.04.02-.06v-.05l.01-.02.02-.08v-.05l.01-.01v-.02a.95.95 0 0 0 .02-.07v-.11h.01v-.09c.01-.03.01-.05 0-.07H29v.05-.49l-.01-.01v-.05l-.05-.3-.01-.02-.06-.22-.01-.03L24.7 5.09a2.9 2.9 0 0 0-.07-.18V4.9l-.01-.02v-.02l-.02-.01-.03-.07v-.03a.49.49 0 0 0-.06-.09c0 .02.01.02.02.03v-.01l-.01-.01-.05-.1-.04-.06-.07-.12-.02-.02-.02-.03v-.01h-.01l-.07-.1-.01-.02-.02-.01-.07-.1-.03-.03-.02-.02-.11-.12-.02-.01-.15-.14-.02-.02c-.19-.16-.4-.3-.62-.41h-.01l-.03-.02-.17-.08h-.02l-.04-.02-.21-.08h-.04a3.25 3.25 0 0 0-.23-.07h-.02a3.23 3.23 0 0 0-.26-.05h-.04L21.97 3H8.28Zm16.27 1.74v-.02.02Z",
"clip-rule": "evenodd",
},
],
],
];