android-maps-compose icon indicating copy to clipboard operation
android-maps-compose copied to clipboard

Content padding is not used for initial rendering

Open kkris opened this issue 2 years ago • 1 comments

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

kkris avatar Jun 12 '23 21:06 kkris

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:

This is an automated message, feel free to ignore.

wangela avatar Jun 12 '23 21:06 wangela

:tada: This issue has been resolved in version 6.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

googlemaps-bot avatar Oct 29 '24 16:10 googlemaps-bot