From 66b4b294243d403ac806daa5af4ce31f73b0e329 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 6 Dec 2022 16:53:19 -0500 Subject: [PATCH] small cleanup --- src/viewport.js | 2 -- 1 file changed, 2 deletions(-) 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)