This is what happens:
Is there a workaround to this?
I'm having the same issue when updating markers. I'm trying to update marker icons by clearing them and re-adding them but this issue occurs after doing so. This occurs even when clearing the map and item list before adding more items.
same issue here.
I experience the same problem. The only solution I have to solve this is reset your marker renderer every time you (re)add items. In my scenario:
clusterManager.clearItems();
clusterManager.addItems(cars);
clusterManager.cluster();
clusterManager.setRenderer(new DefaultClusterRenderer<Car>(this, map, clusterManager) {
@Override
protected void onBeforeClusterRendered(Cluster<Car> cluster, MarkerOptions markerOptions) {
ClusterHelper.initCluster(cluster, markerOptions);
}
@Override
protected void onBeforeClusterItemRendered(Car car, MarkerOptions markerOptions) {
ClusterHelper.initClusterItem(car, markerOptions);
}
});
Try this method:
mClusterManager.cluster();
worked for me 馃憤
this is still not working on my side.. I tried everything that I found on google and it's still not working
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!
Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution.
Most helpful comment
I'm having the same issue when updating markers. I'm trying to update marker icons by clearing them and re-adding them but this issue occurs after doing so. This occurs even when clearing the map and item list before adding more items.