Commit Graph

6 Commits

Author SHA1 Message Date
ISA
79c0b4e8cf Rename api/locations to api/readLocations and api/poiTyp to api/readPoiTyp 2024-05-03 09:26:09 +02:00
ISA
fb25f3a39d Fix: Ensure proper map object is passed to ShowAddStationPopup
The ShowAddStationPopup component was failing to close popups because it was using an uninitialized 'map' object. This commit changes the reference from 'map' to 'initMap' at the point where ShowAddStationPopup is rendered. This ensures that the correct map instance is being used, resolving the TypeError related to undefined properties when attempting to close the popup.

This change is critical for maintaining the functionality of our map interactions, particularly in scenarios where dynamic components are rendered based on user actions.
2024-05-03 07:20:51 +02:00
ISA
5986de04dd Poi hinzufügen per Popup Formular 2024-05-02 20:46:39 +02:00
ISA
31803907b9 Das property poiTypeId in handleSubmit in der Console 2024-05-02 19:48:26 +02:00
ISA
c9c9e5feb3 DropDownmenü Element von API aufrufen in Kontextmenü ->Popup-> Station hinzufügen 2024-05-02 14:26:36 +02:00
ISA
7465069e44 ShowAddStationPopup.js Komponent erstellt statt in MapComponent für bessere Organisation in das Projekt 2024-05-02 12:37:59 +02:00