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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to