diff --git a/src/map/anim/Map.PanAnimation.js b/src/map/anim/Map.PanAnimation.js index 411baf73..5b6fdd2f 100644 --- a/src/map/anim/Map.PanAnimation.js +++ b/src/map/anim/Map.PanAnimation.js @@ -69,7 +69,7 @@ L.Map.include({ if (options.animate !== false) { L.DomUtil.addClass(this._mapPane, 'leaflet-pan-anim'); - var newPos = this._getMapPanePos().subtract(offset); + var newPos = this._getMapPanePos().subtract(offset).round(); this._panAnim.run(this._mapPane, newPos, options.duration || 0.25, options.easeLinearity); } else { this._rawPanBy(offset);