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.
Marker view integration on Android landed with #3276.
This integration is backed up by an adapter approach that uses view recycling. Currently there is no limit on the amount of Views in the cache (child views of MapView) and there is a behaviour when panning in and out the viewport that results in growing the cache while it should be reusing the items in the cache.
Example:
We show 100 view marker but panning quickly a couple of times results in a cache with 147 views.
@tobrun Do we want to impose a limit on the number of items in the cache or is this issue simply stating that the current implementing isn't re-using items already in the cache and that needs to be changed to do so?
Activity
bleege commentedon Jun 4, 2016
@tobrun Do we want to impose a limit on the number of items in the cache or is this issue simply stating that the current implementing isn't re-using items already in the cache and that needs to be changed to do so?
[android] #5076 - fixed update marker for MarkerView, rewrite update …
[android] #5076 - add getter for View of MarkerView, update public AP…
[android] #5076 - invalidate MarkerViews when adding a MarkerView
[android] #5076 - increase cache size
tobrun commentedon Jun 6, 2016
@bleege
Below you see the problem in action, you can see our viewcache size increasing to values above 100 while there are only 100 MarkerViews.
this is now resolved eb5ff35 with an increased cache size as seen here, where the size doesn't go over the 100 markers.
tobrun commentedon Jun 6, 2016
Merged in #5250 onto
release-v4.1.0branch