- Added try-catch block in MapComponent.js to handle errors during fetch operation
- Added try-catch block in API route to handle errors during database query
This improves the robustness and error tolerance of the application by ensuring errors are properly caught and logged.
in MapComponent.js
map.fitBounds(group.getBounds().pad(0.5));. Diese Zeile passt die Karte an, sodass alle Elemente in group (also Marker und Polylinien) im Blickfeld sind. Dies kann dazu führen, dass der Zoom-Level geändert wird,
feat: Implement dynamic line coloring based on module IDs
Enhanced the map visualization by implementing dynamic line coloring, assigning unique colors to polyline elements based on their corresponding module IDs. This update fetches color settings from the linesColorAPI and applies them to the line drawings on the map. The change aims to improve the visual distinction between different lines, facilitating easier identification and analysis for users.
Enhanced the map visualization by implementing dynamic line coloring, assigning unique colors to polyline elements based on their corresponding module IDs. This update fetches color settings from the linesColorAPI and applies them to the line drawings on the map. The change aims to improve the visual distinction between different lines, facilitating easier identification and analysis for users.
----------------------
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