googlemaps/v3-utility-library

MarkerClustererPlus does not exec click on cluster on some aspect ratios

Offen

#437 geöffnet am 15.06.2018

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.366 Forks)batch import
help wantedpriority: p3type: bug

Repository-Metriken

Stars
 (1.094 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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