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.

貢獻者指南