Skip to content

Commit

Permalink
Bugfix: Fix noMoveStart option for fitBounds method (#8911)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
  • Loading branch information
3 people committed May 18, 2023
1 parent 5506693 commit 88bb5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ export var Map = Evented.extend({

Util.requestAnimFrame(function () {
this
._moveStart(true, false)
._moveStart(true, options.noMoveStart || false)
._animateZoom(center, zoom, true);
}, this);

Expand Down

0 comments on commit 88bb5dc

Please sign in to comment.