Content padding is not used for initial rendering #326
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When you set the
contentPadding
parameter, it is not considered when the map is initially rendered. This results incameraPositionState.position
being off-center. Subsequent updates will correctly center taking the content padding into account.I created a simple reproducing example here: kkris@865bd3c
Here is a video of this bug: https://github.com/googlemaps/android-maps-compose/assets/232214/ed5b164f-d926-4ca7-afdb-ffb14f3fe4e1
The text was updated successfully, but these errors were encountered: