googlemaps/v3-utility-library

MarkerClustererPlus does not exec click on cluster on some aspect ratios

开放

#437 创建于 2018年6月15日

 (13 条评论) (0 个反应) (0 位负责人)JavaScript (1,366 个派生)batch import
help wantedpriority: p3type: bug

仓库指标

星标
 (1,094 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南