NasaGeek / MapPaddingRepro

Minimal reproduction of issue with centering a GoogleMap on Android in certain cases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reproduction of Android Google Maps centering issue

https://issuetracker.google.com/issues/166482938

Building and launching the project without modification should show the error behavior, which is that the map will not properly center on the location you tap. I believe this arises from a combination of applying padding to the map (using GoogleMap::setPadding()) and attempting to zoom to a zoom level that is less than the minZoomLevel.

About

Minimal reproduction of issue with centering a GoogleMap on Android in certain cases


Languages

Language:Kotlin 100.0%