-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save map instance #155
Comments
I guess it's fine for the map to be initialized every time. |
I filed an issue on the Compose-side to support this as the current available APIs cannot, afaik, support this feature request. You can +1 https://issuetracker.google.com/issues/252891031 |
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you! |
Any news/plans for that? Honestly, as I wanted to migrate from fragment-based to Compose Google Maps I've encountered issue with reloading MapView (when coming back to the screen with Map). From UX perspective this is no go for that migration because of UX regression. |
PR #436 will only allow reuse in containers which support reuse. Maybe this is achievable though depending on how the navigation is implemented etc. |
When do you expect to merge that PR? |
Very soon |
It's merged in 6.1.0 |
Also facing this on navigating back to a map screen. It is still present in 6.1.0. Created a reproducer here: https://github.com/geworfener/MapsComposeSaveStateIssue |
Hey all, any update on this? currently facing this issue with |
Google has recently released a survey regarding maps. It might help if we voice our support for this issue there: https://docs.google.com/forms/d/e/1FAIpQLScE9aBgy4VZAVm2J2pgrhOKgpwqcoEiKLZRB4QBd9xH7hvMiw/viewform?resourcekey=0-1rA9AdG3BF0-gFVLXqKOdg |
Hey all so I have temporarily approached it in an unorthodox way. For my use case with Still just an idea, here is the pseudo-code for what I had in mind:
|
I couldn`t find a way to save google map instance so you can prevent initialization every time you change the screen, is there such a way?
The text was updated successfully, but these errors were encountered: