I have a web based map that is using the jquery-ui-map and markerclusterer plugin to make a google map.
I filter out which markers should be shown or not then update the map.
I need to create a list of unclustered markers and so to this end need a way to check clusters against markers and find out which are not clustered.
Is there any techniques to do this?
I have tried to cycle through clusters and manually check the markers against clusters but get an error telling me the clusters property var_clusterer.clusters_ is not defined.
NOTE: This solution uses the MarkerClustererPlus library
You can use the getClusters() method to dish out an array of all the cluster objects currently being handled by MarkerClusterer.
After you get the array using getClusters() loop through the cluster objects. For each cluster you can pull the current
markers_array and retrieve your clustered marker.getClusters() is now in the docs: MarkerClustererPlus docs