mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-16 16:45:22 +00:00
Docstrings: map.panBy has options
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user