Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
0f3cfee98c add: read Gis Lines 2024-06-07 11:49:22 +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
8d2d109756 Backup von dem Server 10.10.0.13 was hochgeladen und konfiguriert ist 2024-06-03 07:07:17 +02:00
ISA
e927b62f53 iconurl von DB bekommen 2024-05-30 11:41:23 +02:00
ISA
3218000bea POIs visible with checkbox 2024-05-30 09:35:16 +02:00
ISA
55530336e7 SMS-Funkmodem in mapLayerState.js in SMSFunkmodem wegen Bindestrich, ansonsten default ist aus 2024-05-28 10:22:23 +02:00
isa
77ac959dcf Prepair: With Recoil atom pass current poi data from MapComponent to poiUpdateModal.js when mouse over 2024-05-28 06:44:11 +02:00
ISA
bf4d86406b Gerät in Popup anzeigen 2024-05-27 11:05:48 +02:00
isa
93c8624d12 add: locationDeviceNameById.js 2024-05-26 07:51:04 +02:00
isa
bd5a0c3ca0 add: idLD in readLocations.js
API-Endpunktroute
2024-05-25 22:59:59 +02:00
isa
d7fdda761c feat: Set default POI type in dropdown based on selected POI 2024-05-25 22:23:25 +02:00
ISA
f30a69e028 Littwin config 2024-05-23 09:53:43 +02:00
isa
43f23115af my config 2024-05-22 18:17:07 +02:00
ISA
211192c3f0 Der Name von POI lesen und in Aktualisierung-Popup einfügen 2024-05-22 12:18:00 +02:00
ISA
3f49ead2fd idLD geht muss noch das Löschen Button hinzufügen 2024-05-22 09:51:43 +02:00
ISA
8d2e15d902 idLD in null aktualisieren , das muss noch gemacht werden 2024-05-22 08:48:58 +02:00
ISA
0b33458261 Browser neu laden, um die aktualisierte Liste anzuzeigen (Löschen) 2024-05-22 08:21:48 +02:00
ISA
a7eee8eccf Poi update, aber idLD muss noch gemacht werden 2024-05-22 08:03:27 +02:00
ISA
185d9348ea Poi löschen funktioniert 2024-05-22 06:53:21 +02:00
ISA
07eb6ee34a Modal für Poi zu updaten und zu löschen 2024-05-21 15:17:48 +02:00
ISA
e1c3e36933 POI hinzufügen statt Station hinzufügen im Konext Menü und im Button 2024-05-21 07:04:10 +02:00
ISA
91197bf86c POI hinzufügen Formular Elemente anordnen 2024-05-17 10:38:55 +02:00
ISA
f2ecbc522b idLD foreign key von talas_v5.location_device in poi Tabelle ,in der Spalte idLD speichern beim hinzufügen eines POI auf die Map 2024-05-16 10:06:11 +02:00
ISA
11b09c2cda device location dropdaown menu 2024-05-16 08:45:04 +02:00
ISA
dca6e3db8d Fix: Zuverlässige Anzeige von poiTypName mit Fremdschlüssel in den Markern sichergestellt
- Implementierung der Fremdschlüssel-Logik für die `poiTyp`-Daten in `MapComponent`.
- Nutzung einer Map, um die Fremdschlüssel-Beziehung zwischen `poiTyp`-IDs und deren Namen effizient zu verwalten.
- Sicherstellung, dass `poiTypName` korrekt in Marker-Popups angezeigt wird, indem die Fremdschlüssel-Beziehung geprüft wird.
- Verbesserte Bedingungsprüfung sorgt dafür, dass die Popups nun die richtigen `poiTypName`-Werte anzeigen, oder als Fallback "Unbekannt" verwendet wird.
- Effekt-Logik wurde so angepasst, dass Marker nur aktualisiert werden, wenn die `poiTyp`-Daten vollständig geladen sind.
2024-05-06 08:15:31 +02:00
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
0448d1bc56 Rename loadStore.js to readPoiMarkersStore.js 2024-05-03 13:58:02 +02:00
ISA
39e5e1cb5a Refactor: Reorganize state management into atoms and selectors directories
Moved all Recoil atoms to a new 'atoms' directory and selectors to a 'selectors' directory to clarify the project structure and improve maintainability. This change separates concerns by clearly distinguishing between simple state (atoms) and derived state (selectors), facilitating better understanding and scalability of the application's state management.
2024-05-03 10:18:42 +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