diff --git a/src/viewport.js b/src/viewport.js index afbfbae7..76becbeb 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -719,8 +719,6 @@ $.Viewport.prototype = { this.zoomTo(currentZoom, null, true); this.fitBounds(constrainedBounds); - - // this.zoomTo(newZoom, referencePoint, immediately); } else { var rotatedNewBounds = newBounds.rotate(-this.getRotation()); var referencePoint = rotatedNewBounds.getTopLeft().times(newZoom)