Merge pull request #5918 from aaronplanell/master
Fix function _animateZoom if redirects in the middle of a transition (flyTo)
This commit is contained in:
commit
127c023f18
@ -1608,6 +1608,8 @@ export var Map = Evented.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_animateZoom: function (center, zoom, startAnim, noUpdate) {
|
_animateZoom: function (center, zoom, startAnim, noUpdate) {
|
||||||
|
if (!this._mapPane) { return; }
|
||||||
|
|
||||||
if (startAnim) {
|
if (startAnim) {
|
||||||
this._animatingZoom = true;
|
this._animatingZoom = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user