You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have developed an application using Compose and using version 5.0.1 for the map screen and to add markers.
After moving and stopping, we make a request to the server and receive a response with a list of markers. We map these to the UI model and try to draw them on the map as shown below:
Hi, I just updated to v6.0.0 and encountered a similar issue (or the same maybe).
A workaround that works for me is putting the Marker inside a key block, maybe it will also work for you ?
I recommend not using rememberMarkerState(), and replacing it with remember { MarkerState(...) }, as the former uses rememberSaveable, which is not what you want when you render markers from a model.
Hey there ✋🏻
We have developed an application using Compose and using version 5.0.1 for the map screen and to add markers.
After moving and stopping, we make a request to the server and receive a response with a list of markers. We map these to the UI model and try to draw them on the map as shown below:
However, I sometimes notice that even if the markers are in the list, they do not get drawn on the map screen. What could be the reason for this?
Thanks in advance.
Note: Marker keys are unique.
ss.mp4
The text was updated successfully, but these errors were encountered: