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

@@ -395,6 +395,31 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get drawRectangleDesc => 'Tracer une zone rectangulaire sur la carte';
@override
String get measureDistance => 'Mesurer la distance';
@override
String get measureDistanceDesc => 'Appui long sur deux points pour mesurer';
@override
String get clearMeasurement => 'Effacer la mesure';
@override
String distanceLabel(String distance) {
return 'Distance : $distance';
}
@override
String get longPressForSecondPoint => 'Appui long pour le deuxième point';
@override
String get longPressToStartMeasurement =>
'Appui long pour définir le premier point';
@override
String get longPressToStartNewMeasurement =>
'Appui long pour nouvelle mesure';
@override
String get shareDrawings => 'Partager les dessins';
@@ -1892,4 +1917,19 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get updateLater => 'Plus Tard';
@override
String get cadastralParcels => 'Parcelles Cadastrales';
@override
String get forestRoads => 'Chemins Forestiers';
@override
String get showCadastralParcels => 'Afficher les parcelles cadastrales';
@override
String get showForestRoads => 'Afficher les chemins forestiers';
@override
String get wmsOverlays => 'Superpositions WMS';
}