leaflet-extra-markers
Version:
Custom map markers for Leaflet JS
33 lines (32 loc) • 1.92 kB
JavaScript
/**
* @name ChipDiamondBorder2
* @preview 
* @type {Array}
*/
export const ChipDiamondBorder2 = [
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "33",
fill: "currentColor",
viewBox: "0 0 30 33",
},
[
[
"path",
{
d: "M12.2 1.16a3.97 3.97 0 0 1 5.6 0L28.85 12.2a3.97 3.97 0 0 1 .22 5.37L18.38 31.15a4 4 0 0 1-6.76-.01L.96 17.59a3.97 3.97 0 0 1 .2-5.4L12.2 1.16Z",
},
],
[
"path",
{
fill: "#fff",
"fill-rule": "evenodd",
d: "M12.2 1.16a3.97 3.97 0 0 1 5.6 0L28.85 12.2a3.97 3.97 0 0 1 .22 5.37L18.38 31.15a4 4 0 0 1-6.76-.01L.96 17.59a3.97 3.97 0 0 1 .2-5.4L12.2 1.16Zm4.2 1.42a1.97 1.97 0 0 0-2.64-.14l-.15.14L2.58 13.6a1.97 1.97 0 0 0-.22 2.52l.12.15.03.04.02.03L13.2 29.9l.06.08.06.09a2 2 0 0 0 3.38 0l.05-.08.06-.08L27.5 16.33l.02-.03.03-.03a1.95 1.95 0 0 0-.12-2.66L16.4 2.58Z",
"clip-rule": "evenodd",
},
],
],
];