leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 2.94 kB
JavaScript
/**
* @name TackDiamondBorder2
* @preview 
* @type {Array}
*/
export const TackDiamondBorder2 = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "35",
fill: "currentColor",
viewBox: "0 0 30 35",
},
[
[
"path",
{
d: "M12.2 1.17a3.97 3.97 0 0 1 5.6 0L28.84 12.2a3.97 3.97 0 0 1 .16 5.44l-.2.2-10.36 10.37a3 3 0 0 0-.7 1.11l-1.77 4.95-.02.06-.01.03-.02.04-.02.06-.01.02-.02.02-.01.03-.07.08v.01l-.02.02a1 1 0 0 1-.67.36h-.12a1 1 0 0 1-.91-.63v-.02l-1.8-5.03a3 3 0 0 0-.6-1l-.11-.11-10.4-10.4a3.97 3.97 0 0 1 0-5.61l2.4-2.4.14-.14 8.5-8.5Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M12.2 1.17a3.97 3.97 0 0 1 5.6 0L28.84 12.2a3.97 3.97 0 0 1 .16 5.44l-.2.2-10.36 10.37a3 3 0 0 0-.7 1.1l-1.77 4.96-.02.06-.01.02v.01l-.02.04-.02.06-.01.02-.02.02-.01.03-.07.08v.01l-.02.02a1 1 0 0 1-.67.36h-.12a1 1 0 0 1-.91-.63v-.02l-1.81-5.03a3 3 0 0 0-.59-1l-.11-.11-10.4-10.4a3.97 3.97 0 0 1 0-5.61l2.4-2.4.14-.14 8.5-8.5Zm4.19 1.41a1.97 1.97 0 0 0-2.63-.14l-.02.02-.11.1-8.52 8.51-.15.15-.02.02-2.35 2.36-.02.01a1.97 1.97 0 0 0 0 2.79L13 26.8l.14.15.02.02.01.01c.33.37.6.78.81 1.23l.09.2.09.23.38 1.07a.5.5 0 0 0 .94 0l.38-1.07a5 5 0 0 1 1.18-1.86l10.35-10.35v-.01l.12-.12.01-.01c.68-.77.65-1.95-.09-2.69L16.4 2.58Z",
"clip-rule": "evenodd",
},
],
],
];