docs
This commit is contained in:
16
docs/redux/thunks/database/polylines/fetchGisLinesThunk.md
Normal file
16
docs/redux/thunks/database/polylines/fetchGisLinesThunk.md
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- /docs/redux/thunks/database/polylines/fetchGisLinesThunk.md -->
|
||||
|
||||
# 📡 fetchGisLinesThunk.js
|
||||
|
||||
Async-Thunk zum Laden aller Linien aus der Datenbanktabelle `gis_lines`.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(fetchGisLinesThunk());
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `fetchGisLinesService()` auf
|
||||
- Liefert alle Linien mit Koordinaten zur Anzeige auf der Karte
|
||||
@@ -0,0 +1,20 @@
|
||||
<!-- /docs/redux/thunks/database/polylines/updatePolylineCoordinatesThunk.md -->
|
||||
|
||||
# 🧭 updatePolylineCoordinatesThunk.js
|
||||
|
||||
Async-Thunk zur Aktualisierung von Linienkoordinaten in der Datenbank.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(updatePolylineCoordinatesThunk({
|
||||
idLD: 7,
|
||||
idModul: 2,
|
||||
newCoordinates: [[53.2, 8.4], [53.21, 8.45]]
|
||||
}));
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
- Ruft `updatePolylineCoordinatesService(requestData)` auf
|
||||
- Wandelt Koordinaten in MySQL LINESTRING um
|
||||
Reference in New Issue
Block a user