From 9b1c540ec0a6fd67bc1bce4fb0a9c025ab172c56 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Tue, 21 Jul 2026 10:49:00 -0700 Subject: [PATCH] Fix fast map iteration crash --- mobile/lib/presentation/widgets/map/map.widget.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile/lib/presentation/widgets/map/map.widget.dart b/mobile/lib/presentation/widgets/map/map.widget.dart index c6b97f2491..78531595ef 100644 --- a/mobile/lib/presentation/widgets/map/map.widget.dart +++ b/mobile/lib/presentation/widgets/map/map.widget.dart @@ -224,6 +224,9 @@ class _Map extends StatelessWidget { // Get continuous movement events for bounds tracking trackCameraPosition: true, styleString: style, + // We don't currently use annotations and MapLibre_gl has insufficient guards around instantiation + // of annotation controllers (resulting in map crashs about missing styles), so we disable them + annotationOrder: const [], onMapCreated: onMapCreated, onStyleLoadedCallback: onMapReady, attributionButtonPosition: AttributionButtonPosition.topRight,