diff --git a/components/MapComponent.js b/components/MapComponent.js index 431a833e1..9a354572e 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -74,7 +74,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { const fetchGisStatusStations = async (idMap, idUser) => { try { const response = await fetch( - `/api/talas_v5_DB/getGisStatusStations?idMap=${idMap}&idUser=${idUser}` + `/api/talas5/webserviceMap/GisStationsStatusDistrict?idMap=${idMap}&idUser=${idUser}` ); if (!response.ok) { throw new Error(`Error: ${response.statusText}`); @@ -88,7 +88,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { }; useEffect(() => { - fetchGisStatusStations(1, 123); // Beispielaufruf mit idMap = 1 und idUser = 123 + fetchGisStatusStations(12, 484); // Beispielaufruf mit idMap = 10 und idUser = 484 }, []); //---------------------------------------------------------------------