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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Make InfoWindowAdapter dynamically updateable #5353
Add the possibility to invalidate the InfoWindowAdapter so that the content is refreshed on the map. As the InfoWindowAdapter is an interface and we don't want to break the api, the easiest way to provide this would probably be add an abstract class extending InfoWindowAdapter with an invalidate() method that may be called so that the infowindow contents is refreshed.
Added an example on how to dynamically update the InfoWindow contents on some trigger (map clicks in this example).
Did have to change up the placement update code on InfoWindow a bit. All-in-all, I think this needs a bit of an overhaul as there are already too many exceptions in there and it's not really meant for updating (only initial placement).
Activity
ivovandongen commentedon Jun 16, 2016
Added an example on how to dynamically update the InfoWindow contents on some trigger (map clicks in this example).
Did have to change up the placement update code on InfoWindow a bit. All-in-all, I think this needs a bit of an overhaul as there are already too many exceptions in there and it's not really meant for updating (only initial placement).
[android] Dynamic update of InfowWindow with InfoWindowAdapter example
tobrun commentedon Jun 17, 2016
This was merged with
4.1.0release branch in #5375, adding milestone and closing.