-
Notifications
You must be signed in to change notification settings - Fork 128
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
MarkerState.showInfoWindow() not working after states are changed #196
Comments
@thomaslang1912 can you share the implementation of |
Hi Chris, val list1 = listOf( val list2 = listOf( fun initialMarkers(): List { fun nearbyMarkers(): List { Best regards, Thomas |
hello @thomaslang1912 , I've had a similar issue here, that I was able to solve by using |
Hi Carlos, |
Hello @thomaslang1912, I've used that approach and it worked. I don't have the project here right now, but I can attach a snippet next week. |
Try Marker window info instead with MarkerState
|
I created a map with some markers on it:
The markerStates are stored within the model in variable markerStates:
On the map I added a button. On click it iterates the marker states and shows the info window:
This works fine.
Now I added a button which replaces the states in the model with new ones:
When I press this button, the new markers are displayed on the map and the first infoWindow is displayed.
All following clicks on next have no effect. Always the same InfoWindow is displayed.
In debug mode I saw that iteration of markerStates works correct.
Environment details
project gradle
module gradle
The text was updated successfully, but these errors were encountered: