infoWindow on MarkerClusterer in google maps
- by vishwanath
I need infoWindow to be opened instead of zooming in map, when clicking on the ClusterMarker.
I am using Gmaps util library MarkerClusterer for creating cluster of markers. I tried changing following line in markerclusterer.js
ClusterMarker_.prototype = new GOverlay();
with
ClusterMarker_.prototype = new GMarker();
so that I can get the openInfoWindow() function in the clustermarker, but that didnt worked out. Got some error.
If possible, Please suggest solution so that this can be done with MarkerClusterer. Or else any other library which will be able to do this.
Any help will be appreciated.