Hi am63 I updated the code a few weeks back that fixed this.
You should download the lastest version from http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/ -- Luke On Sun, Aug 1, 2010 at 7:52 PM, am63 <[email protected]>wrote: > Hi, > > I'm currently using MarkerClusterer for Google Maps API v3, it works > fine (roughly 500 markers), but when I decided to prevent the "zoom on > cluster" functionality, it went wrong... > > I checked the code, and found that the line below is wrong... If I set > zoomOnClick on the options to false, the line evaluates to true ; in > fact, it evaluates to true whatever value is set on zoomOnClick. > > this.zoomOnClick_ = options['zoomOnClick'] || true; > > > Can you correct this ? Something like that should do the trick : > > this.zoomOnClick_ = (options['zoomOnClick'] == null) ? true : > options['zoomOnClick']; > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
