Closed GoogleCodeExporter closed 9 years ago
This behavior is caused by a Google bug: when a map is at level 0 and "-" of
zoom slider is clicked, a "zoom_changed" event is fired even though the map
doesn't zoom out any further. In this situation, no "idle" event is triggered
as usually happens when the map actually zooms.
MarkerClustererPlus removes all clusters in the zoom_changed handler, then
redraws them when the subsequent idle event is handled. Since the latter never
occurs when the map is at level 0, the clusters disappear.
This will be fixed in the next update to MarkerClustererPlus.
Original comment by garylitt...@gmail.com
on 21 Feb 2012 at 7:22
There is a fix for this in the current trunk release (2.0.9).
Original comment by garylitt...@gmail.com
on 21 Feb 2012 at 7:35
Original comment by garylitt...@gmail.com
on 22 Feb 2012 at 5:31
Using version 2.0.9, it appears that this is fixed at zoom level 0, but still a
problem at max zoom. E.g., if I don't have a maxZoom set, MarkerClusterer will
create clusters when the map is zoomed all the way in, which is what I want.
But if I zoom in, the cluster disappears. The attached patch fixes the issue
for me.
Original comment by eric.ent...@gmail.com
on 1 Mar 2012 at 1:14
Attachments:
Fixed in the trunk (2.0.10). Please verify and I will tag the release.
Original comment by garylitt...@gmail.com
on 1 Mar 2012 at 1:50
For me with 2.0.10 the cluster still seems to dissapear.
Original comment by emrulla...@gmail.com
on 1 Mar 2012 at 8:23
Sorry for the slow response - 2.0.10 fixes the issue for me.
Original comment by eric.ent...@gmail.com
on 13 Mar 2012 at 1:16
Fixed in tagged release (2.0.10)
Original comment by garylitt...@gmail.com
on 13 Mar 2012 at 1:42
Original issue reported on code.google.com by
emrulla...@gmail.com
on 30 Jan 2012 at 11:16