accept true as a third setView argument for compatibility
This commit is contained in:
parent
5ab4d4a4be
commit
df72027401
@ -14,7 +14,7 @@ L.Map.include({
|
|||||||
this._panAnim.stop();
|
this._panAnim.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._loaded && !options.reset) {
|
if (this._loaded && !options.reset && options !== true) {
|
||||||
|
|
||||||
if (options.animate !== undefined) {
|
if (options.animate !== undefined) {
|
||||||
options.zoom = L.extend({animate: options.animate}, options.zoom);
|
options.zoom = L.extend({animate: options.animate}, options.zoom);
|
||||||
|
Loading…
Reference in New Issue
Block a user