Commit Graph

6 Commits

Author SHA1 Message Date
Ismail Ali
0d59fff439 User Rights include 56: 2025-05-25 11:20:35 +02:00
ISA
b6c07bbc7d Fix: redrawPoline.js und POI hinzufgen auf die Karte in Kontextmenü 2025-03-10 08:34:52 +01:00
ISA
a5e86f7fa5 fix: POIs können per Drag und Drop verschoben werden auf die Map 2024-07-15 16:08:57 +02:00
ISA
0079664dfb feat: Marker hinzufügen und Marker entfernen in PolyLines und der currentZoom funktioniert 2024-07-11 10:11:20 +02:00
ISA
6cc3cdc483 feat: Extracted restoreMapSettings to mapUtils.js
Moved the restoreMapSettings function from MapComponent.js to mapUtils.js for better modularity and reusability. This change also helps in maintaining cleaner code and improving readability.
2024-07-09 10:35:46 +02:00
ISA
b53fe1b3f1 feat: Refactor utils.js into specialized utility modules
- Split utils.js into three separate files to enhance modularity and maintainability:
  1. geometryUtils.js: Contains geometry-related functions like parsePoint and findClosestPoints.
  2. mapUtils.js: Contains functions related to map operations such as redrawPolyline and saveLineData.
  3. markerUtils.js: Contains functions related to marker operations like insertNewMarker and handleEditPoi.

- Updated import statements in the relevant files to reflect the new structure.
- Ensured that each utility module is self-contained and has clear responsibilities.

This refactor improves the separation of concerns, making the codebase more organized and easier to navigate. Future maintenance and enhancements can now be more easily localized to the appropriate utility module.
2024-07-09 08:10:02 +02:00