In my Android application, I have to delete and re-add a cluster item in my GoogleMap, that represents my current location. But when I run this code:
cluster
By default ClusterManager uses NonHierarchicalDistanceBasedAlgorithm, that doesn't implement removing elements.
Try to use GridBasedAlgorithm instead (it supports elements remove):
clusterMng.setAlgorithm(new GridBasedAlgorithm());
Or, for better performance, wrap it with PreCachingAlgorithmDecorator, as ClusterManager does by default:
clusterMng.setAlgorithm(new PreCachingAlgorithmDecorator(new GridBasedAlgorithm()));