Commit Graph

182 Commits

Author SHA1 Message Date
ISA
89544c7bd8 add: implement Prioritätskonfiguration fetchPriorityConfig function 2024-06-25 08:01:23 +02:00
ISA
097773553a edit: Gerät dropdown menü in modal POi hinzufügen 2024-06-24 13:11:08 +02:00
ISA
9393850f68 feat: Lines bringToFront effect on mouse over 2024-06-24 11:27:42 +02:00
ISA
34e26a3b8e edit: Linien und Markers dazwischen aktualisieren beim Position verändern 2024-06-24 11:17:28 +02:00
ISA
d640ef3171 Linien färben über lokale4 API, in Talas API ist nur #fffffff farbe, deswegen die lokale API-Endpoint (linesColorApi.js) 2024-06-24 10:51:38 +02:00
ISA
04333fc402 Merge branch 'temp-branch' into Dev 2024-06-24 07:11:33 +02:00
ISA
ca78d56551 edit: Stationen auf die Karte bekommen , muss der IP des Server eingegeben werden in [...path] 2024-06-24 07:05:22 +02:00
ISA
945a11bb64 feat: Trigger second useEffect after fetching poiData
- Updated the first useEffect to fetch POI data from the API and store it in state.
- Added poiData as a dependency to the second useEffect to ensure it runs only after poiData is fetched.
- Ensured that the second useEffect waits for poiData to be populated before processing locations and adding markers to the map.

This change guarantees that the markers are only processed and displayed once the necessary POI data is available.
2024-06-19 10:08:27 +02:00
ISA
a7b7e3f25a feat: Pois icons ,Add error handling for fetch and database operations
- 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.
2024-06-19 09:42:58 +02:00
ISA
30ace5ad8a feat: highlight polylines on mouseover and bring to front 2024-06-19 07:05:34 +02:00
ISA
8947eef70f add: Event-Listener zu den Polylinien hinzufügen, um die Breite der Linie bei Mouseover zu ändern. lokaler API-Endpoint-Funktion 2024-06-19 06:42:03 +02:00
ISA
07f343e25a add: add linescolor from API 2024-06-18 15:35:32 +02:00
ISA
ed48023abb add: You can switch in /config/config.js linesColorApi or GisLinesStatus , locally or remotely API-Endpoint-Function from Webservice 2024-06-18 14:59:35 +02:00
ISA
3590213286 fix: Blickfeld aus initialwert lassen
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,
2024-06-18 11:25:57 +02:00
ISA
a31e498013 edit: baseUrl in MapComponent.js 2024-06-18 10:48:11 +02:00
ISA
3abb339d1e basUrl muss angepasst werden je nach IP des Talas für Station öffenen(Tab)
und Station in selbe fenster ffnen entfernt
2024-06-18 10:37:17 +02:00
ISA
c585f05445 feat: add API endpoint for updating line geometries, but need fix bugs 2024-06-14 14:35:17 +02:00
ISA
d220d0baae refactor: Move API-Endpoint-Functions to /api/talas_v5_DB/ folder for better organization 2024-06-14 14:06:32 +02:00
ISA
c8ac4ebdb7 clear: delete comments and previos code 2024-06-14 13:20:09 +02:00
ISA
289ce6d6f5 feat: Line and markers with green color 2024-06-14 13:14:02 +02:00
ISA
1185444a6a refactor: Move readGisLines to /api/talas_v5_DB/gisLines/ folder for better organization 2024-06-14 12:35:53 +02:00
ISA
33b3e55687 del: delete Bremen Hannover line, because it was just for dev test 2024-06-14 11:58:55 +02:00
ISA
0083976f69 feat: move markers in th line on the map with polyline.setLatLngs(newCoords); 2024-06-14 11:53:19 +02:00
ISA
fe65a5d87f temp: move markers in the lines on the map 2024-06-14 11:33:42 +02:00
ISA
22bba28f49 temp: move lines on the map 2024-06-14 11:27:50 +02:00
ISA
33d3a74c5d feat: the polyline dynamically updates as you drag the markers around and the coordinates are updated in real-time 2024-06-14 09:43:13 +02:00
ISA
7518ecc1f0 add: create polyline between Bremen and Hannover, prepaire to move marker with the line on the map 2024-06-14 09:25:44 +02:00
ISA
57a5e9667b add: create two icons, Bremen and Hannover for prepair move marker to move the line between these on the map 2024-06-14 08:59:40 +02:00
ISA
fb116a5007 feat: two lines with different colors, based on module id from API-Endpoint-function, next step, move lines by mouse drag 2024-06-14 08:44:19 +02:00
ISA
13c5cc26e9 Merge branch 'temp-branch' into Dev, because was in HEAD because git checkout
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.
2024-06-13 14:25:42 +02:00
ISA
820b908873 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.
2024-06-13 14:01:14 +02:00
ISA
577a93e3c5 Linien ausgeblendet für Demo Server 2024-06-11 15:30:30 +02:00
ISA
a983780b64 stash: linesColors 2024-06-11 15:09:35 +02:00
ISA
06bde39617 add: http://localhost:3000/api/linesColorApi für Farbe der Linien 2024-06-11 07:34:07 +02:00
ISA
c6fab5e84d docs: add comments to clarify the APIs and connections 2024-06-10 07:41:45 +02:00
ISA
c76ada149a fix: userRights ? userRights.includes(56) : fale;
in try catch block eingepackt, falls ein Fehler auftaucht, dann in der Console und nicht im Browser
2024-06-10 07:19:48 +02:00
ISA
62f5502b02 Add yellow circle markers for intermediate points 2024-06-07 14:35:41 +02:00
ISA
3a965dbfa8 edit: blaue Punkte statt icons am Beginn und Ende des Linie 2024-06-07 14:26:47 +02:00
ISA
3e2b75c7e9 Icons an beide Seiten Punkte des Linie 2024-06-07 14:25:02 +02:00
ISA
f3d4062a77 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
2024-06-07 13:59:00 +02:00
ISA
975d58e6ff fix: Git Konflikte gelöst, jetzt geht mit der Anzeige von zwei Linien auf die Map 2024-06-07 13:37:28 +02:00
ISA
d5b73f8166 Merge branch 'neuer-branch' into Dev 2024-06-07 13:26:10 +02:00
ISA
4b7a74647a edit: show two lines from readGisLines 2024-06-07 13:06:03 +02:00
ISA
0f3cfee98c add: read Gis Lines 2024-06-07 11:49:22 +02:00
ISA
3d72b3682f fix: useEffect nur einmal ausführen "POI hinzufügen" war manchmal zweimal oder mehr vorhanden im Kontextmenü 2024-06-06 08:38:52 +02:00
ISA
29bf479101 iconurl von DB bekommen 2024-06-06 08:17:06 +02:00
ISA
79321ac06d POIs visible with checkbox 2024-06-06 06:55:03 +02:00
ISA
11a5fe0393 Test auf dem Laptop (local) und API von 13 2024-06-03 07:58:00 +02:00
ISA
b2f8698126 Merge branch 'temp-branch' into Dev 2024-06-03 07:24:32 +02:00
ISA
8d2d109756 Backup von dem Server 10.10.0.13 was hochgeladen und konfiguriert ist 2024-06-03 07:07:17 +02:00