diff --git a/src/viewport.js b/src/viewport.js index 187822a3..a9c3913a 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -711,6 +711,8 @@ $.Viewport.prototype = { if(constraints){ this.panTo(center, false); + + newZoom = this._applyZoomConstraints(newZoom); this.zoomTo(newZoom, null, false); var constrainedBounds = this.getConstrainedBounds();