diff --git a/map.js b/map.js index a0ef988..2fd3825 100644 --- a/map.js +++ b/map.js @@ -9,7 +9,7 @@ layer.bindPopup(`

${name}

${desc.replace(/\n/g, '
').replace(/\[\[(.+)\]\]/g, `${url}`)}

`); var Layer = desc.split("\n")[0]; - L.divIcon({ + return L.divIcon({ html: '', className:'marker', iconSize: [0, 0]