ISA
e74fcd8ad3
edit: Lines tooltip style
2024-06-26 09:33:32 +02:00
ISA
644b5329dd
- talas_v5.gis_lines Update nach Marker innerhalb der Linie -> position ändern->idLD && idModul Zusammengesetzte PK
...
- Darstellung soll wie Marker mouseover Popup (tooltip)
2024-06-26 09:00:54 +02:00
ISA
559442e740
edit: Lines update ->ok ,tooltip->ok
2024-06-26 08:31:15 +02:00
ISA
c350aa5395
return one step or fix it
2024-06-25 15:53:22 +02:00
ISA
71ae51abab
feat: tooltip for lines, but should be fixed, same message on all lines
2024-06-25 15:22:33 +02:00
ISA
9dbd77d6b1
Merge branch 'temp-branch' into Dev
2024-06-25 13:43:15 +02:00
ISA
212293d9ea
edit: updateLineCoordinates and tooltip in MapComponent
2024-06-25 13:38:49 +02:00
ISA
937fb20df3
edit: Lines Color red and yellow for screenshot, DB -> gis_lines or in /pages/api/linesColorApi.js change IdLD-> idLD and Modul -> idModul
2024-06-25 10:54:53 +02:00
ISA
2f5dad0246
temp:
2024-06-25 10:31:25 +02:00
ISA
df8bcf974a
add: implement fetchGisStatusStations in MapComponent for prio and Markers color
2024-06-25 09:42:23 +02:00
ISA
a6e2e5a4f2
add: implement API-Endpoint GisStationsStatusDistrict.js for icons prio "Le" and Color
2024-06-25 09:35:25 +02:00
ISA
01d9a2945a
getIconPath auskommentiert, weil ist definiert, aber wird nicht aufegrufen
2024-06-25 08:45:04 +02:00
ISA
89544c7bd8
add: implement Prioritätskonfiguration fetchPriorityConfig function
2024-06-25 08:01:23 +02:00
ISA
27c651d474
add: priorityConfig API-Endpoint for priority on the map ,if there overlapping , level 0 has high priority
2024-06-24 15:53:58 +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
0b28058496
hier muss auch entsprechend in der Tabelle gis_lines die daten vorhanden sein
2024-06-18 15:40: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
6c75b4e14b
Zwei Linien übereinander mit MySQL Anweisung eingestellt den id 2 und 3
...
UPDATE talas_v5.gis_lines
SET points = ST_GeomFromText('LINESTRING(53.1694148698111 8.25416564941406, 53.1897847430275 8.23322296142578, 53.1996575633995 8.21468353271485, 53.1727076258968 8.16902160644531)')
WHERE idLD = 3 AND idModul = 3;
2024-06-18 11:58:44 +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
7cecef4925
Die Verwechslung von Breiten- und Längengrad in Ihrer Funktion updateGisLines.js beim Aktualisieren eines Markers innerhalb einer Linie in Ihrer Datenbank weist typischerweise auf ein häufiges Problem bei der Handhabung von Geokoordinaten hin.
2024-06-18 11:03:25 +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