fix typo in movestart fire
This commit is contained in:
parent
9686b73d15
commit
315ebb1eb5
@ -32,7 +32,7 @@ L.Map.include(!(L.Transition && L.Transition.implemented()) ? {} : {
|
|||||||
this._panTransition.on('step', this._onPanTransitionStep, this);
|
this._panTransition.on('step', this._onPanTransitionStep, this);
|
||||||
this._panTransition.on('end', this._onPanTransitionEnd, this);
|
this._panTransition.on('end', this._onPanTransitionEnd, this);
|
||||||
}
|
}
|
||||||
this.fire(this, 'movestart');
|
this.fire('movestart');
|
||||||
|
|
||||||
this._panTransition.run({
|
this._panTransition.run({
|
||||||
position: L.DomUtil.getPosition(this._mapPane).subtract(offset)
|
position: L.DomUtil.getPosition(this._mapPane).subtract(offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user