android-maps-compose
android-maps-compose copied to clipboard
Content padding is not used for initial rendering
When you set the contentPadding parameter, it is not considered when the map is initially rendered. This results in cameraPositionState.position being off-center. Subsequent updates will correctly center taking the content padding into account.
I created a simple reproducing example here: https://github.com/kkris/android-maps-compose/commit/865bd3c9d167fffb862ccacdb018cadde57512a3
Here is a video of this bug: https://github.com/googlemaps/android-maps-compose/assets/232214/ed5b164f-d926-4ca7-afdb-ffb14f3fe4e1
If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@kkris Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
- StackOverflow - use the
google-mapstag
This is an automated message, feel free to ignore.
:tada: This issue has been resolved in version 6.2.0 :tada:
The release is available on:
v6.2.0- GitHub release
Your semantic-release bot :package::rocket: