File tree Expand file tree Collapse file tree
android/ui-maplibre/src/main/java/com/stadiamaps/ferrostar/maplibreui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import org.maplibre.compose.expressions.value.IconRotationAlignment
2323import org.maplibre.compose.expressions.value.SymbolAnchor
2424import org.maplibre.compose.layers.SymbolLayer
2525import org.maplibre.compose.sources.GeoJsonData
26+ import org.maplibre.compose.sources.GeoJsonOptions
2627import org.maplibre.compose.sources.rememberGeoJsonSource
2728import org.maplibre.compose.util.MaplibreComposable
2829import org.maplibre.spatialk.geojson.Feature
@@ -70,6 +71,7 @@ internal fun NavigationPuckOverlay(
7071 bearingDegrees = target.bearingDegrees,
7172 ),
7273 ),
74+ options = GeoJsonOptions (synchronousUpdate = true ),
7375 )
7476 val puckPainter = rememberNavigationPuckPainter(style.dotFillColorCurrentLocation)
7577 val puckSize = 80 .dp
You can’t perform that action at this time.
0 commit comments