android-maps-compose
android-maps-compose copied to clipboard
Map recomposes every time location changes in sample LocationTrackingActivity
Not sure if this is they way it's supposed to work (or if it has any performance implications), but it looks like the entire GoogleMaps composable recomposes when the location changes in the LocationTrackingActivity sample.
I would expect only the cameraPosition to change + the blue dot, not the entire map.
See attached video from Layout Inspector in Android Studio
https://user-images.githubusercontent.com/6727140/229069754-0d05fe06-9941-442e-b21c-86fba22b2d45.mov
Seems likely related to #293.
any update here? seems that any child composables of the map are being recomposed regardless of their state