diff --git a/components/MapComponent.js b/components/MapComponent.js index 07637c539..c7f3e40d1 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -328,7 +328,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => { const getIdSystemAndAllowValueMap = new Map( GisSystemStatic.map((system) => [system.IdSystem, system.Allow]) ); - console.log("getIdSystemAndAllowValueMap:", getIdSystemAndAllowValueMap); + //console.log("getIdSystemAndAllowValueMap:", getIdSystemAndAllowValueMap); if (jsonResponse.Points && statusResponse.Statis) { const statisMap = new Map( @@ -384,10 +384,10 @@ const MapComponent = ({ locations, onLocationUpdate }) => { marker.bindPopup(`
-

${station.LD_Name}

-

Gerät: ${station.Device}

-

Zone: ${station.Area_Short} (${station.Area_Name})

-

Standort: ${station.Location_Short} (${station.Location_Name})

+

${station.LD_Name}

+ ${station.Device}
+ ${station.Area_Short} (${station.Area_Name})
+ ${station.Location_Short} (${station.Location_Name})
${statusInfo}
`); @@ -725,7 +725,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => { // Effekt zum Loggen der poiTypData, wenn sie sich ändern useEffect(() => { - console.log("poiTypData aktualisiert:", poiTypData); + //console.log("poiTypData aktualisiert:", poiTypData); }, [poiTypData]); //--------------------------------------- @@ -740,7 +740,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => { data.forEach((item) => map.set(item.idPoiTyp, item.name)); setPoiTypMap(map); setIsPoiTypLoaded(true); // Daten wurden erfolgreich geladen - console.log("poiTypMap:", map); + //console.log("poiTypMap:", map); const poiTypName = poiTypMap.get(0) || "Unbekannt"; //console.log("poiTypName:", poiTypName); } catch (error) {