geoCoder hinter dataSheet ausblenden

This commit is contained in:
ISA
2025-01-10 12:23:11 +01:00
parent 9e1c4525ac
commit 78ad2219ec
2 changed files with 17 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ export const initializeMap = (mapRef, setMap, setOms, setMenuItemAdded, addItems
}).addTo(initMap);
// Suchfeld hinzufügen
const geocoder = L.Control.geocoder({
/* const geocoder = L.Control.geocoder({
defaultMarkGeocode: false,
})
.on("markgeocode", function (e) {
@@ -79,7 +79,7 @@ export const initializeMap = (mapRef, setMap, setOms, setMenuItemAdded, addItems
initMap.setView(latlng, 15);
L.marker(latlng).addTo(initMap).bindPopup(e.geocode.name).openPopup();
})
.addTo(initMap);
.addTo(initMap); */
// Initialisiere OverlappingMarkerSpiderfier
const overlappingMarkerSpiderfier = new OverlappingMarkerSpiderfier(initMap, {