Google Maps Utility: how to get all markers from ClusterManager<?>?
问题 Sorry for my English I tried the ClusterManager<?>.getMarkerCollection().getMarkers() method but it returns empty collection. I use in my app Google Maps Utility Library . Every time after a screen rotation I create AsynkTask and in background thread read data from DB and add items to ClusterManager : cursor.moveToFirst(); while (!cursor.isAfterLast()) { SomeData row = readSomeDataRow(cursor); clusterManager.addItem(new ClusterItemImpl(row)); cursor.moveToNext(); } When the AsyncTask finished