From f3d4062a772782dfdcce2d4cecd1853d3d0f7e97 Mon Sep 17 00:00:00 2001 From: ISA Date: Fri, 7 Jun 2024 13:59:00 +0200 Subject: [PATCH] =?UTF-8?q?test:=20Auf=20Laptop=20->=20-------------------?= =?UTF-8?q?---=20Stationen=20Fenster=20rechts=20oben=20->zu=20Station=20fl?= =?UTF-8?q?iegen,=20Bereich=20ein-=20und=20ausblenden=20und=20Rauszommen->?= =?UTF-8?q?ok=20Kontextmen=C3=BC->=20Station=20=C3=B6ffnen=20auch=20in=20n?= =?UTF-8?q?euer=20tab=20ok,=20zoomen=20ok,=20Koordinaten=20anzeigen=20,=20?= =?UTF-8?q?POI=20hinzuf=C3=BCgen=20ok=20au=C3=9Fer=20Parkplatz=20Icon,=20P?= =?UTF-8?q?OI=20l=C3=B6schen=20und=20bearbeiten=20ok.=20--------------=20I?= =?UTF-8?q?nfo=20Icon=20ok=20----------=20Mehrere=20Linien=20zeichen=20auf?= =?UTF-8?q?=20die=20Map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/MapComponent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {