geoCoder hinter dataSheet ausblenden
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user