diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index e4d4be246..52a51b6cd 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -310,8 +310,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({ _getExpandedVisibleBounds: function () { var map = this._map, bounds = map.getPixelBounds(), - width = Math.abs(bounds.max.x - bounds.min.x), - height = Math.abs(bounds.max.y - bounds.min.y), + width = L.Browser.mobile ? 0 : Math.abs(bounds.max.x - bounds.min.x), + height = L.Browser.mobile ? 0 : Math.abs(bounds.max.y - bounds.min.y), sw = map.unproject(new L.Point(bounds.min.x - width, bounds.min.y - height)), ne = map.unproject(new L.Point(bounds.max.x + width, bounds.max.y + height));