Fix function _animateZoom if redirects in the middle of a transition (flyTo).
This commit is contained in:
parent
abc3bf3027
commit
ceb41bca98
@ -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