Commit Graph

155 Commits

Author SHA1 Message Date
ISA
19e0570310 Files copy and paste from store atoms and selector to redux slices folder 2024-12-18 07:29:47 +01:00
ISA
4d1a218b21 WIP: Bereich wird angezeigt, aber da ist noch ein Bug, Talas Marker erscheint trotz Checkbox ausgecheckt 2024-12-17 14:22:45 +01:00
ISA
16c98dba64 feat: Dynamische Basis-URL für NEXT_PUBLIC_BASE_URL implementiert
- Protokoll und Hostname dynamisch über window.location abgeleitet.
- Basis-URL auf /talas5/devices/ angepasst.
- Unterstützt flexible Umgebungskonfiguration (z. B. Entwicklungs- und Produktionsumgebungen).
2024-12-03 08:02:48 +01:00
ISA
d134f1f315 Error: apiService.js:180 Fehler beim Abrufen der Benutzerrechte
WIP: Es soll die Seiten auf DNS-Name erreichbar sein
2024-12-02 15:39:06 +01:00
ISA
d422a505aa delete: unused files/Mock files 2024-12-02 13:48:16 +01:00
ISA
4a9381ae46 fix: Layer-Visibility-Konflikt bei SMS Modem behoben
- Ursache des Problems: Inkonsistenz bei der Benennung des Layers in `useLayerVisibility` ("SMSFunkmodem" vs. "SMSModem").
- Anpassung des Layer-Namens in `useLayerVisibility`, um mit der `GisSystemStatic`-Datenstruktur und `mapLayersVisibility` übereinzustimmen.
- Konflikt führte dazu, dass der SMS Modem-Layer nicht korrekt sichtbar/unsichtbar geschaltet wurde.
- Debugging und Anpassungen führten zur erfolgreichen Behebung des Fehlers.

Dieser Fix stellt sicher, dass die Sichtbarkeit der Marker-Layer konsistent und wie erwartet funktioniert.
2024-11-29 11:10:03 +01:00
ISA
62b6e55a0a Version 1.0.2 mit node_modules Verzeichnis 2024-10-02 07:58:24 +02:00
ISA
f353a06b1b Merge branch 'feature/dropdown-filter' into develop 2024-10-02 06:59:24 +02:00
ISA
132242e7d8 WIP: noch Design für POI hinzufügen 2024-09-17 12:35:52 +02:00
ISA
5295dfec62 WIP: POI Update 2024-09-12 22:56:59 +02:00
ISA
f5e9de16f6 Ein einfacher externer WebSocket-Server und in useLineData.js testen 2024-09-11 08:58:01 +02:00
ISA
5676208265 .env.local für 30 2024-09-10 08:21:37 +02:00
ISA
aa38493f03 prepair redux 2024-09-09 15:20:00 +02:00
ISA
e94ecd7279 feat(api): Add mock API routes for testing GIS lines and station names
- Created mock API route for fetching GIS lines data (/api/talas_v5_DB/gisLines/readGisLinesMock)
- Created mock API route for fetching station names data (/api/talas_v5_DB/station/getAllStationsNamesMock)
- Replaced original API calls in useLineData hook with mock routes for development and testing
2024-09-09 13:56:28 +02:00
ISA
6850fee16a WIP: Add basic structure for edit mode to DataSheet.js
Der Bearbeitungsmodus ist noch nicht vollständig, und es fehlen
einige Funktionalitäten. Reduzierung der Datenbankanfragen noch in Arbeit.
2024-09-06 10:41:47 +02:00
ISA
094e27e147 Version 1.0.1.5 delete linsColorApi.js because was mock file 2024-09-05 11:53:21 +02:00
ISA
3d8ecb8287 Version 1.0.1.4 delete "api-Kopie" und "api back30" and delete link from device popup 2024-09-05 11:14:03 +02:00
ISA
7e100ff81b Version 1.0.1.3 API aufruf statt direkte Anfrgen an die MySQL Datenbank und WebServiceMap Mock Dateien und direkte MySQL Anfagen gelöscht 2024-09-05 10:42:36 +02:00
ISA
2623da410e Version 1.0.1.2 connection.release() in folder talas_v5_DB in all files 2024-09-05 09:59:49 +02:00
ISA
34449e3710 Version 1.0.1.1 release DB connection in /pages/api/talas_v5_DB/gisLines/readGisLines.js 2024-09-05 09:26:38 +02:00
ISA
f8e35cece6 Mit rechte Maustaste Link in localStorage speichern in setupPolylines.js 2024-09-04 15:50:27 +02:00
ISA
ea46bd771b mysql createPool 2024-09-02 09:06:49 +02:00
ISA
8699c1c4a0 POIs hinzufügen, löschen und bearbeiten funktioniert! in mapFeatures.js als marker, irgendwann in poi umbenennen 2024-08-15 15:53:27 +02:00
ISA
ad7c7f84a0 POI hinzufügen mit mysql2 Bibliothek irgendwie nicht optimal, mysql Bibliothek funktioniert gut, Pool auch genutzt in mysql Bibliothek für mehr Performence und weniger Probleme mit conntctions 2024-08-14 20:38:55 +02:00
ISA
d729e1408b Stationnamen sind richtig 2024-08-10 14:06:19 +02:00
ISA
b7116a1e6f polylines tooltip content 2024-08-10 10:32:37 +02:00
ISA
482ead85cb Feature: Add interactive markers to polyline via context menu and edit updateLineCoordinates.js 2024-06-27 15:07:14 +02:00
ISA
ff6620f98c add MapComponent and lineColorsAPI after cherry pick. update lines and tooltip ok 2024-06-26 14:48:09 +02:00
ISA
112ab56d66 delete MapComponent and lineColors for cherry pick for nächst step to add 2024-06-26 14:43:20 +02:00
ISA
e0deb523e0 Nächter Schritt , Umbrüche in lange text in Linien tolltip 2024-06-26 12:14:09 +02:00
ISA
431e688fb7 edit: Lines tooltip style with Tailwind css 2024-06-26 10:35:19 +02:00
ISA
559442e740 edit: Lines update ->ok ,tooltip->ok 2024-06-26 08:31: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
a6e2e5a4f2 add: implement API-Endpoint GisStationsStatusDistrict.js for icons prio "Le" and Color 2024-06-25 09:35:25 +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
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
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
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
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
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
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
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
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