I was trying to implement MarkerCluster (MS) with Overlapping Marker Cluster (OMS). Everything seems to work just fine.
However, I am looking to modify the way OMS is works so that if I click on a cluster that has 2 points under it
When I click on any Cluster with 2 points in it with exact same geo location, its opens a marker and when I am clicking on that marker it's opening spider with 2 markers.
What I want when I am clicking on the Cluster, straight a way it will open up spider with 2 markers, already spend lot of times but still nothing worked.
I already tried many solutions, like
1. I can track the marker when I am adding to OMS(oms.addMarker), and can click depending on zoom_changed event of google map, but its not firing spiderfy rather its firing click event of what we added to markers.....
2. I have see a event spiderfy, so I tried to trigger that event with a marker object (oms.trigger('spiderfy', marker);) but nothing working...
Here I am adding code snippet too:
mc = new MarkerClusterer(map, markers.locations, mcOptions);
google.maps.event.addListener(mc, 'clusterclick', function(cluster) {
enter code hereclusterClicked = true;
// HERE WE WANTS TO FIRE SPIDER FUNCTIONALITY ...
});