test: Auf Laptop ->

----------------------
Stationen Fenster rechts oben ->zu Station fliegen, Bereich ein- und ausblenden und Rauszommen->ok
Kontextmenü-> Station öffnen auch in neuer tab ok, zoomen ok, Koordinaten anzeigen , POI hinzufügen ok außer Parkplatz Icon, POI löschen und bearbeiten ok.
--------------
Info Icon ok
----------
Mehrere Linien zeichen auf die Map
This commit is contained in:
ISA
2024-06-07 13:59:00 +02:00
parent 975d58e6ff
commit f3d4062a77

View File

@@ -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 {