diff --git a/components/MapComponent.js b/components/MapComponent.js index 8a68fc397..e4b733885 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -152,7 +152,8 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { const lineLayer = new L.LayerGroup(); const [gisSystemStaticLoaded, setGisSystemStaticLoaded] = useState(false); - const baseUrl = "http://10.10.0.13/talas5/devices/"; + + const baseUrl = "http://10.10.0.13/talas5/devices/"; // für Station öffnen in neuer tab und gleicher tab, im localhost gab es keine Probleme mit der Frame //const baseUrl = "http://localhost/talas5/devices/"; const [isPoiTypLoaded, setIsPoiTypLoaded] = useState(false); const [poiTypMap, setPoiTypMap] = useState(new Map()); @@ -1701,6 +1702,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { if (isVisible) { talasMarkers.forEach((marker) => marker.addTo(map)); // Ensure markers are added const polyline = L.polyline(linePositions, { color: "red" }).addTo( + //Linien-Farbe /Farbe für die Strecke zwischen den Markern TALAS ); } else {