googlemaps/v3-utility-library

MarkerClustererPlus does not exec click on cluster on some aspect ratios

Ouverte

#437 ouverte le 15 juin 2018

 (13 commentaires) (0 réaction) (0 personne assignée)JavaScript (1 366 forks)batch import
help wantedpriority: p3type: bug

Métriques du dépôt

Stars
 (1 094 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur