feat: Add zoom level clamping for WMS layer switching and improve message filtering in simple mode

This commit is contained in:
Janez T
2025-10-27 22:28:46 +01:00
parent b4bbaf3109
commit f707e2233b
23 changed files with 212 additions and 20 deletions

View File

@@ -1683,6 +1683,16 @@
"description": "Beschreibung für Karte-drehen-Umschalter"
},
"resetMapRotation": "Drehung zurücksetzen",
"@resetMapRotation": {
"description": "Schaltfläche zum Zurücksetzen der Kartendrehung nach Norden"
},
"resetMapRotationTooltip": "Karte nach Norden zurücksetzen",
"@resetMapRotationTooltip": {
"description": "Tooltip für Drehung-zurücksetzen-Schaltfläche"
},
"showMapDebugInfo": "Karten-Debug-Info anzeigen",
"@showMapDebugInfo": {
"description": "Umschalter zum Anzeigen von Karten-Debug-Informationen"

View File

@@ -1683,6 +1683,16 @@
"description": "Description for rotate map toggle"
},
"resetMapRotation": "Reset Rotation",
"@resetMapRotation": {
"description": "Button to reset map rotation to north"
},
"resetMapRotationTooltip": "Reset map to north",
"@resetMapRotationTooltip": {
"description": "Tooltip for reset rotation button"
},
"showMapDebugInfo": "Show Map Debug Info",
"@showMapDebugInfo": {
"description": "Toggle for showing map debug information"

View File

@@ -1683,6 +1683,16 @@
"description": "Descripción del alternar de rotar mapa"
},
"resetMapRotation": "Restablecer rotación",
"@resetMapRotation": {
"description": "Botón para restablecer la rotación del mapa al norte"
},
"resetMapRotationTooltip": "Restablecer mapa al norte",
"@resetMapRotationTooltip": {
"description": "Tooltip para botón de restablecer rotación"
},
"showMapDebugInfo": "Mostrar información de depuración del mapa",
"@showMapDebugInfo": {
"description": "Alternar para mostrar información de depuración del mapa"

View File

@@ -1683,6 +1683,16 @@
"description": "Description de l'interrupteur de rotation de la carte"
},
"resetMapRotation": "Réinitialiser la rotation",
"@resetMapRotation": {
"description": "Bouton pour réinitialiser la rotation de la carte vers le nord"
},
"resetMapRotationTooltip": "Réinitialiser la carte vers le nord",
"@resetMapRotationTooltip": {
"description": "Infobulle pour le bouton de réinitialisation de rotation"
},
"showMapDebugInfo": "Afficher les infos de débogage de la carte",
"@showMapDebugInfo": {
"description": "Interrupteur pour afficher les informations de débogage de la carte"

View File

@@ -567,6 +567,10 @@
"mapFollowsDirection": "Karta slijedi vaš smjer pri kretanju",
"resetMapRotation": "Resetiraj rotaciju",
"resetMapRotationTooltip": "Vrati kartu na sjever",
"showMapDebugInfo": "Prikaži debug informacije karte",
"displayZoomLevelBounds": "Prikaži razinu zumiranja i granice",

View File

@@ -1683,6 +1683,16 @@
"description": "Descrizione per l'interruttore ruota mappa"
},
"resetMapRotation": "Ripristina Rotazione",
"@resetMapRotation": {
"description": "Pulsante per ripristinare la rotazione della mappa verso nord"
},
"resetMapRotationTooltip": "Ripristina mappa verso nord",
"@resetMapRotationTooltip": {
"description": "Tooltip per il pulsante di ripristino rotazione"
},
"showMapDebugInfo": "Mostra Info Debug Mappa",
"@showMapDebugInfo": {
"description": "Interruttore per mostrare informazioni di debug della mappa"

View File

@@ -1810,6 +1810,18 @@ abstract class AppLocalizations {
/// **'Map follows your direction when moving'**
String get mapFollowsDirection;
/// Button to reset map rotation to north
///
/// In en, this message translates to:
/// **'Reset Rotation'**
String get resetMapRotation;
/// Tooltip for reset rotation button
///
/// In en, this message translates to:
/// **'Reset map to north'**
String get resetMapRotationTooltip;
/// Toggle for showing map debug information
///
/// In en, this message translates to:

View File

@@ -991,6 +991,12 @@ class AppLocalizationsDe extends AppLocalizations {
String get mapFollowsDirection =>
'Karte folgt Ihrer Richtung während der Bewegung';
@override
String get resetMapRotation => 'Drehung zurücksetzen';
@override
String get resetMapRotationTooltip => 'Karte nach Norden zurücksetzen';
@override
String get showMapDebugInfo => 'Karten-Debug-Info anzeigen';

View File

@@ -987,6 +987,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get mapFollowsDirection => 'Map follows your direction when moving';
@override
String get resetMapRotation => 'Reset Rotation';
@override
String get resetMapRotationTooltip => 'Reset map to north';
@override
String get showMapDebugInfo => 'Show Map Debug Info';

View File

@@ -993,6 +993,12 @@ class AppLocalizationsEs extends AppLocalizations {
String get mapFollowsDirection =>
'El mapa sigue tu dirección cuando te mueves';
@override
String get resetMapRotation => 'Restablecer rotación';
@override
String get resetMapRotationTooltip => 'Restablecer mapa al norte';
@override
String get showMapDebugInfo => 'Mostrar información de depuración del mapa';

View File

@@ -995,6 +995,12 @@ class AppLocalizationsFr extends AppLocalizations {
String get mapFollowsDirection =>
'La carte suit votre direction lorsque vous vous déplacez';
@override
String get resetMapRotation => 'Réinitialiser la rotation';
@override
String get resetMapRotationTooltip => 'Réinitialiser la carte vers le nord';
@override
String get showMapDebugInfo => 'Afficher les infos de débogage de la carte';

View File

@@ -985,6 +985,12 @@ class AppLocalizationsHr extends AppLocalizations {
@override
String get mapFollowsDirection => 'Karta slijedi vaš smjer pri kretanju';
@override
String get resetMapRotation => 'Resetiraj rotaciju';
@override
String get resetMapRotationTooltip => 'Vrati kartu na sjever';
@override
String get showMapDebugInfo => 'Prikaži debug informacije karte';

View File

@@ -992,6 +992,12 @@ class AppLocalizationsIt extends AppLocalizations {
String get mapFollowsDirection =>
'La mappa segue la tua direzione quando ti muovi';
@override
String get resetMapRotation => 'Ripristina Rotazione';
@override
String get resetMapRotationTooltip => 'Ripristina mappa verso nord';
@override
String get showMapDebugInfo => 'Mostra Info Debug Mappa';

View File

@@ -985,6 +985,12 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get mapFollowsDirection => 'Zemljevid sledi vaši smeri pri gibanju';
@override
String get resetMapRotation => 'Ponastavi rotacijo';
@override
String get resetMapRotationTooltip => 'Ponastavi zemljevid na sever';
@override
String get showMapDebugInfo => 'Prikaži debug informacije zemljevida';

View File

@@ -567,6 +567,10 @@
"mapFollowsDirection": "Zemljevid sledi vaši smeri pri gibanju",
"resetMapRotation": "Ponastavi rotacijo",
"resetMapRotationTooltip": "Ponastavi zemljevid na sever",
"showMapDebugInfo": "Prikaži debug informacije zemljevida",
"displayZoomLevelBounds": "Prikaži nivo povečave in meje",