diff --git a/public/js/extra.js b/public/js/extra.js index bbae1468..0c39f31b 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -476,7 +476,12 @@ export function finishView (view) { attribution: 'OSM', maxZoom: 18, }).addTo(map) - L.marker(position).addTo(map) + L.marker(position, { + icon: L.icon({ + iconUrl: `${serverurl}/build/leaflet/images/marker-icon.png`, + shadowUrl: `${serverurl}/build/leaflet/images/marker-shadow.png` + }) + }).addTo(map) $elem.addClass('geo') } catch (err) { $elem.append(`