Add WMS support and measurement functionality

- Implemented WMS layer handling for Slovenian aerial imagery and overlays for cadastral parcels and forest roads.
- Added distance measurement feature allowing users to measure distances on the map with long press interactions.
- Updated localization files for Croatian, Italian, and Slovenian languages to include new measurement and WMS-related strings.
- Enhanced the map layer model to support WMS-specific properties.
- Introduced a new tile provider for debugging WMS requests.
- Updated the drawing toolbar to include measurement mode and clear measurement functionality.
- Integrated SharedPreferences to persist overlay visibility states across app sessions.
- Added utility functions for handling the Slovenian coordinate reference system (EPSG:3794).
This commit is contained in:
Janez T
2025-10-27 21:49:58 +01:00
parent a03cc4a363
commit a4dc85d130
29 changed files with 3327 additions and 20 deletions

View File

@@ -649,6 +649,44 @@
"description": "Beschreibung für Rechteckzeichnungsmodus"
},
"measureDistance": "Entfernung messen",
"@measureDistance": {
"description": "Kartenzeichnungsmodus: Entfernung messen"
},
"measureDistanceDesc": "Zwei Punkte lang drücken zum Messen",
"@measureDistanceDesc": {
"description": "Beschreibung für Entfernungsmessungsmodus"
},
"clearMeasurement": "Messung löschen",
"@clearMeasurement": {
"description": "Tooltip zum Löschen der Messung"
},
"distanceLabel": "Entfernung: {distance}",
"@distanceLabel": {
"description": "Beschriftung mit gemessener Entfernung",
"placeholders": {
"distance": {"type": "String"}
}
},
"longPressForSecondPoint": "Langer Druck für zweiten Punkt",
"@longPressForSecondPoint": {
"description": "Anweisung wenn erster Messpunkt gesetzt ist"
},
"longPressToStartMeasurement": "Langer Druck für ersten Punkt",
"@longPressToStartMeasurement": {
"description": "Anweisung zum Starten der Messung"
},
"longPressToStartNewMeasurement": "Langer Druck für neue Messung",
"@longPressToStartNewMeasurement": {
"description": "Anweisung zum Neustarten der Messung nach Abschluss"
},
"shareDrawings": "Zeichnungen teilen",
"@shareDrawings": {
"description": "Aktion zum Teilen von Zeichnungen im Netzwerk"
@@ -2551,5 +2589,11 @@
"currentVersion": "Aktuell",
"latestVersion": "Neueste",
"downloadUpdate": "Herunterladen",
"updateLater": "Später"
"updateLater": "Später",
"cadastralParcels": "Katasterparzellen",
"forestRoads": "Waldwege",
"showCadastralParcels": "Katasterparzellen anzeigen",
"showForestRoads": "Waldwege anzeigen",
"wmsOverlays": "WMS Überlagerungen"
}