feat(location-map): auto-center on first fix, follow toggle, refresh feedback

This commit is contained in:
2026-04-15 22:13:12 +02:00
parent c7e32d1399
commit 51a3979c03
10 changed files with 66 additions and 2 deletions

View File

@@ -580,6 +580,9 @@
"locationMapStyleLight": "Hell",
"locationMapStyleDark": "Dunkel",
"locationMapStyleSatellite": "Satellit",
"locationMapRefreshRequested": "Standort wird von der Uhr angefordert…",
"locationMapFollowEnabled": "Automatische Verfolgung aktiviert",
"locationMapFollowDisabled": "Automatische Verfolgung deaktiviert",
"locationLayerGeofences": "Sicherheitszonen",
"locationLayerFrequentPlaces": "Häufige Orte",
"locationLayerHistory": "Verlauf",

View File

@@ -715,6 +715,9 @@
"locationMapStyleLight": "Light",
"locationMapStyleDark": "Dark",
"locationMapStyleSatellite": "Satellite",
"locationMapRefreshRequested": "Requesting location from the watch…",
"locationMapFollowEnabled": "Auto-follow enabled",
"locationMapFollowDisabled": "Auto-follow disabled",
"locationLayerGeofences": "Safety zones",
"locationLayerFrequentPlaces": "Frequent Places",
"locationLayerHistory": "History",

View File

@@ -716,6 +716,9 @@
"locationMapStyleLight": "Claro",
"locationMapStyleDark": "Oscuro",
"locationMapStyleSatellite": "Satélite",
"locationMapRefreshRequested": "Solicitando ubicación al reloj…",
"locationMapFollowEnabled": "Seguimiento automático activado",
"locationMapFollowDisabled": "Seguimiento automático desactivado",
"locationLayerGeofences": "Zonas de seguridad",
"locationLayerFrequentPlaces": "Lugares Frecuentes",
"locationLayerHistory": "Historial",

View File

@@ -580,6 +580,9 @@
"locationMapStyleLight": "Clair",
"locationMapStyleDark": "Sombre",
"locationMapStyleSatellite": "Satellite",
"locationMapRefreshRequested": "Demande de localisation à la montre…",
"locationMapFollowEnabled": "Suivi automatique activé",
"locationMapFollowDisabled": "Suivi automatique désactivé",
"locationLayerGeofences": "Zones de sécurité",
"locationLayerFrequentPlaces": "Lieux fréquents",
"locationLayerHistory": "Historique",

View File

@@ -580,6 +580,9 @@
"locationMapStyleLight": "Chiaro",
"locationMapStyleDark": "Scuro",
"locationMapStyleSatellite": "Satellite",
"locationMapRefreshRequested": "Richiesta posizione all'orologio…",
"locationMapFollowEnabled": "Tracciamento automatico attivato",
"locationMapFollowDisabled": "Tracciamento automatico disattivato",
"locationLayerGeofences": "Zone di sicurezza",
"locationLayerFrequentPlaces": "Luoghi frequenti",
"locationLayerHistory": "Cronologia",

View File

@@ -580,6 +580,9 @@
"locationMapStyleLight": "Claro",
"locationMapStyleDark": "Escuro",
"locationMapStyleSatellite": "Satélite",
"locationMapRefreshRequested": "Solicitando localização ao relógio…",
"locationMapFollowEnabled": "Seguimento automático ativado",
"locationMapFollowDisabled": "Seguimento automático desativado",
"locationLayerGeofences": "Zonas de segurança",
"locationLayerFrequentPlaces": "Lugares frequentes",
"locationLayerHistory": "Histórico",

View File

@@ -567,6 +567,9 @@ class I18n {
static const String locationMapStyleSatellite = 'locationMapStyleSatellite';
static const String locationMapStyleStandard = 'locationMapStyleStandard';
static const String locationMapStyleVoyager = 'locationMapStyleVoyager';
static const String locationMapRefreshRequested = 'locationMapRefreshRequested';
static const String locationMapFollowEnabled = 'locationMapFollowEnabled';
static const String locationMapFollowDisabled = 'locationMapFollowDisabled';
static const String locationNewFrequentPlace = 'locationNewFrequentPlace';
static const String locationNewGeofence = 'locationNewGeofence';
static const String locationPlace = 'locationPlace';

View File

@@ -114,6 +114,11 @@ mixin LocationTracking on Tracking {
Future<void> legacyLocationMapRefreshTapped() =>
trackEvent('${_prefix}_map_refresh_tapped');
Future<void> legacyLocationMapFollowToggled(bool active) => trackEvent(
'${_prefix}_map_follow_toggled',
{'active': active.toString()},
);
Future<void> legacyLocationListSheetOpened() =>
trackEvent('${_prefix}_list_sheet_opened');