infoWindow on MarkerClusterer in google maps

Posted by vishwanath on Stack Overflow See other posts from Stack Overflow or by vishwanath
Published on 2010-05-21T09:57:09Z Indexed on 2010/05/21 10:30 UTC
Read the original article Hit count: 854

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.

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about JavaScript