Merge pull request #5918 from aaronplanell/master

Fix function _animateZoom if redirects in the middle of a transition (flyTo)
This commit is contained in:
Andrew 2017-11-16 19:15:47 +01:00 committed by GitHub
commit 127c023f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1608,6 +1608,8 @@ export var Map = Evented.extend({
},
_animateZoom: function (center, zoom, startAnim, noUpdate) {
if (!this._mapPane) { return; }
if (startAnim) {
this._animatingZoom = true;