When cluster marker click checks are enabled (the default), the clusterer will check if the same cluster marker is still present on the map AFTER the click event, and if so, will zoom in one level. This can happen when the data points associated with a cluster marker already "fit" within a map at a given zoom level, as illustrated by the tests below.
-
Make sure the map zoom level is set to: 7, then click the cluster marker
-
If cluster marker click checks are disabled, the map will NOT "zoom-in", because the bounds of the data points already fit in the map (the individual data points will be displayed to illustrate).
-
If cluster marker click checks are enabled, the clusterer will check if the tile containing the cluster marker that was clicked is still present, and if so, will automatically "zoom-in" one level.
-
-
Change the map to zoom level to: 5 (or any level less than 7), then click the cluster marker
-
If cluster marker click checks are disabled, the map will "zoom-in" so the data points fit in the map; the map zoom level will change from 5 to 7 as a direct result of calling the Google maps .fitBounds() method. Clicking on the cluster marker again (at zoom level 7) will have no effect, as explained in the previous test above.
-
If cluster marker click checks are enabled, the map will "zoom-in" so the data points fit in the map; the map zoom level changes from 5 to 7 as a direct result of calling the Google maps .fitBounds() method. Clicking on the cluster marker again (at zoom level 7) will cause the map to "zoom-in" one level, as explained in the previous test above.
-