googlemaps/v3-utility-library

MarkerClustererPlus does not exec click on cluster on some aspect ratios

Aperta

#437 aperta il 15 giu 2018

 (13 commenti) (0 reazioni) (0 assegnatari)JavaScript (1366 fork)batch import
help wantedpriority: p3type: bug

Metriche repository

Star
 (1094 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor