Commit Graph

118 Commits

Author SHA1 Message Date
ISA
ce8d1f5a19 Fix: Sicherstellen, dass MapComponent innerhalb des RecoilRoot-Kontexts liegt
- Entfernt redundanten `RecoilRoot` aus `MapComponent`, um Probleme mit verschachtelten Wurzeln zu vermeiden.
- Sichergestellt, dass `MapComponent` immer innerhalb des zentralen `RecoilRoot` gerendert wird, der in `_app.js` definiert ist.
- Das Problem "Diese Komponente muss innerhalb einer `<RecoilRoot>`-Komponente verwendet werden" durch Platzieren aller Recoil-States im korrekten Kontext behoben.
- `ShowAddStationPopup` direkt als JSX-Element innerhalb von `MapComponent` zur besseren Übersicht verwendet.
2024-05-05 13:14:09 +02:00
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
f6a0a40a14 Daten abrufen von MySQL-DB-Tabelle poityp, um später in Dropdownmenü einzufügen für dieStation hinzufügen 2024-04-30 14:20:27 +02:00
ISA
a07d5f940e Vorbereitung für den Umzug auf den TALAS-Server 2024-04-29 11:46:22 +02:00
ISA
8f4552c259 Add pointer cursor to expand icon and link zoom-out functionality 2024-04-29 08:33:10 +02:00
ISA
be28d772d8 Erweiterte Suchfunktion in Dropdownmenü für selectedArea über alle Layergruppen hinweg 2024-04-28 20:03:27 +02:00
ISA
ddd39bc1ef Sonstige Popup per mouseove 2024-04-26 08:50:15 +02:00
ISA
17afca6115 Ein -und ausblenden LayerGroups durch Checkboxen, manche funktionieren, manche sollen die Benennung prüfen .
MapComponent.js
25.04.2024
2024-04-25 18:04:46 +02:00
ISA
a33efd44f7 GMA und TALAS in layergroup 2024-04-23 06:55:51 +02:00
dfb1a9cedc TALAS als separater layerGroup 2024-04-22 20:42:34 +02:00
ISA
be0ff64fe5 Dropdownmenü Liste kommt von GisStationsStaticDistrict den Area_Name Attribute 2024-04-22 07:48:34 +02:00
50863d3015 zoomIn, zoomOut and centerHere, fixed the variable assignment to ensure the code functions correctly. 2024-04-21 14:25:54 +02:00
ISA
ee992d5a86 npm Pakete overlapping-marker-spiderfier-leaflet und leaflet.smooth_marker_bouncing benutzt 2024-04-19 07:11:04 +02:00
ISA
7738e53e03 Retrieve data through proxy [...path] 2024-04-16 06:52:31 +02:00
ISA
afee410333 first commit 2024-04-15 10:37:53 +02:00