Docstrings: map.panBy has options
This commit is contained in:
parent
c5f7dc4ad3
commit
b997839fe7
@ -295,7 +295,7 @@ export var Map = Evented.extend({
|
||||
return this.setView(center, this._zoom, {pan: options});
|
||||
},
|
||||
|
||||
// @method panBy(offset: Point): this
|
||||
// @method panBy(offset: Point, options?: Pan options): this
|
||||
// Pans the map by a given number of pixels (animated).
|
||||
panBy: function (offset, options) {
|
||||
offset = toPoint(offset).round();
|
||||
|
Loading…
Reference in New Issue
Block a user