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:
@@ -152,7 +152,8 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
|||||||
const lineLayer = new L.LayerGroup();
|
const lineLayer = new L.LayerGroup();
|
||||||
|
|
||||||
const [gisSystemStaticLoaded, setGisSystemStaticLoaded] = useState(false);
|
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 baseUrl = "http://localhost/talas5/devices/";
|
||||||
const [isPoiTypLoaded, setIsPoiTypLoaded] = useState(false);
|
const [isPoiTypLoaded, setIsPoiTypLoaded] = useState(false);
|
||||||
const [poiTypMap, setPoiTypMap] = useState(new Map());
|
const [poiTypMap, setPoiTypMap] = useState(new Map());
|
||||||
@@ -1701,6 +1702,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
|||||||
if (isVisible) {
|
if (isVisible) {
|
||||||
talasMarkers.forEach((marker) => marker.addTo(map)); // Ensure markers are added
|
talasMarkers.forEach((marker) => marker.addTo(map)); // Ensure markers are added
|
||||||
const polyline = L.polyline(linePositions, { color: "red" }).addTo(
|
const polyline = L.polyline(linePositions, { color: "red" }).addTo(
|
||||||
|
//Linien-Farbe /Farbe für die Strecke zwischen den Markern
|
||||||
TALAS
|
TALAS
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user