mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-13 01:10: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:
@@ -393,6 +393,33 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get drawRectangleDesc => 'Dibujar un área rectangular en el mapa';
|
||||
|
||||
@override
|
||||
String get measureDistance => 'Medir distancia';
|
||||
|
||||
@override
|
||||
String get measureDistanceDesc =>
|
||||
'Presión prolongada en dos puntos para medir';
|
||||
|
||||
@override
|
||||
String get clearMeasurement => 'Borrar medición';
|
||||
|
||||
@override
|
||||
String distanceLabel(String distance) {
|
||||
return 'Distancia: $distance';
|
||||
}
|
||||
|
||||
@override
|
||||
String get longPressForSecondPoint =>
|
||||
'Presión prolongada para el segundo punto';
|
||||
|
||||
@override
|
||||
String get longPressToStartMeasurement =>
|
||||
'Presión prolongada para establecer el primer punto';
|
||||
|
||||
@override
|
||||
String get longPressToStartNewMeasurement =>
|
||||
'Presión prolongada para nueva medición';
|
||||
|
||||
@override
|
||||
String get shareDrawings => 'Compartir dibujos';
|
||||
|
||||
@@ -1886,4 +1913,19 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get updateLater => 'Más Tarde';
|
||||
|
||||
@override
|
||||
String get cadastralParcels => 'Parcelas Catastrales';
|
||||
|
||||
@override
|
||||
String get forestRoads => 'Caminos Forestales';
|
||||
|
||||
@override
|
||||
String get showCadastralParcels => 'Mostrar parcelas catastrales';
|
||||
|
||||
@override
|
||||
String get showForestRoads => 'Mostrar caminos forestales';
|
||||
|
||||
@override
|
||||
String get wmsOverlays => 'Superposiciones WMS';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user