mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
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:
@@ -394,6 +394,31 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
@override
|
||||
String get drawRectangleDesc => 'Disegna un\'area rettangolare sulla mappa';
|
||||
|
||||
@override
|
||||
String get measureDistance => 'Misura Distanza';
|
||||
|
||||
@override
|
||||
String get measureDistanceDesc => 'Premi a lungo su due punti per misurare';
|
||||
|
||||
@override
|
||||
String get clearMeasurement => 'Cancella Misurazione';
|
||||
|
||||
@override
|
||||
String distanceLabel(String distance) {
|
||||
return 'Distanza: $distance';
|
||||
}
|
||||
|
||||
@override
|
||||
String get longPressForSecondPoint => 'Premi a lungo per il secondo punto';
|
||||
|
||||
@override
|
||||
String get longPressToStartMeasurement =>
|
||||
'Premi a lungo per impostare il primo punto';
|
||||
|
||||
@override
|
||||
String get longPressToStartNewMeasurement =>
|
||||
'Premi a lungo per nuova misurazione';
|
||||
|
||||
@override
|
||||
String get shareDrawings => 'Condividi Disegni';
|
||||
|
||||
@@ -1883,4 +1908,19 @@ class AppLocalizationsIt extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get updateLater => 'Più Tardi';
|
||||
|
||||
@override
|
||||
String get cadastralParcels => 'Particelle Catastali';
|
||||
|
||||
@override
|
||||
String get forestRoads => 'Strade Forestali';
|
||||
|
||||
@override
|
||||
String get showCadastralParcels => 'Mostra particelle catastali';
|
||||
|
||||
@override
|
||||
String get showForestRoads => 'Mostra strade forestali';
|
||||
|
||||
@override
|
||||
String get wmsOverlays => 'Sovrapposizioni WMS';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user