Open GoogleCodeExporter opened 8 years ago
I meant to take it one step further and just have the equality check as an
affirmative guard clause.
Fix with a possibly stylistically broken attempt at clarifying what is going on:
var clusterer = this;
google.maps.event.addListener(this.map_, 'zoom_changed', function() {
var map = this;
if (clusterer.prevZoom_ == map.getZoom()) return;
clusterer.prevZoom_ = map.getZoom();
clusterer.resetViewport();
});
Original comment by dave.bc
on 16 May 2010 at 5:56
I don't see any problems using two markerclusterers on a single map.
Original comment by lu...@google.com
on 31 Mar 2011 at 6:18
Original comment by lu...@google.com
on 31 Mar 2011 at 6:18
Original issue reported on code.google.com by
dave.bc
on 16 May 2010 at 5:47