googlemaps/v3-utility-library

MarkerClustererPlus does not exec click on cluster on some aspect ratios

Open

#437 opened on Jun 15, 2018

 (13 comments) (0 reactions) (0 assignees)JavaScript (1,366 forks)batch import
help wantedpriority: p3type: bug

Repository metrics

Stars
 (1,094 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Like the old library the current one has the problem that on some aspect ratios of the map the click handler on a cluster does not zoom in.

https://github.com/googlemaps/js-marker-clusterer/issues/135

The is reproduceable in the examples. When you define a small height for the canvas like 200 pixels or so. In my page it does not work for a width of 850 px and a height of 250 pixels. When I use a height of 500 pixels everything is fine.

Contributor guide