Move ol.ZOOMSLIDER_ANIMATION_DURATION const to a constructor option
This commit is contained in:
@@ -1435,6 +1435,7 @@ olx.control.ZoomOptions.prototype.target;
|
||||
|
||||
/**
|
||||
* @typedef {{className: (string|undefined),
|
||||
* duration: (number|undefined),
|
||||
* maxResolution: (number|undefined),
|
||||
* minResolution: (number|undefined),
|
||||
* render: (function(ol.MapEvent)|undefined)}}
|
||||
@@ -1451,6 +1452,14 @@ olx.control.ZoomSliderOptions;
|
||||
olx.control.ZoomSliderOptions.prototype.className;
|
||||
|
||||
|
||||
/**
|
||||
* Animation duration in milliseconds. Default is `200`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.control.ZoomSliderOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* Maximum resolution.
|
||||
* @type {number|undefined}
|
||||
|
||||
Reference in New Issue
Block a user