Merge pull request #7585 from fredj/rm_olx.animation
Remove leftovers olx.animation typedefs
This commit is contained in:
188
externs/olx.js
188
externs/olx.js
@@ -950,194 +950,6 @@ olx.AnimationOptions.prototype.duration;
|
||||
olx.AnimationOptions.prototype.easing;
|
||||
|
||||
|
||||
/**
|
||||
* Namespace.
|
||||
* @type {Object}
|
||||
*/
|
||||
olx.animation;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{resolution: number,
|
||||
* start: (number|undefined),
|
||||
* duration: (number|undefined),
|
||||
* easing: (undefined|function(number):number)}}
|
||||
*/
|
||||
olx.animation.BounceOptions;
|
||||
|
||||
|
||||
/**
|
||||
* The resolution to start the bounce from, typically
|
||||
* `map.getView().getResolution()`.
|
||||
* @type {number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.BounceOptions.prototype.resolution;
|
||||
|
||||
|
||||
/**
|
||||
* The start time of the animation. Default is immediately.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.BounceOptions.prototype.start;
|
||||
|
||||
|
||||
/**
|
||||
* The duration of the animation in milliseconds. Default is `1000`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.BounceOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* The easing function to use. Can be an {@link ol.easing} or a custom function.
|
||||
* Default is {@link ol.easing.upAndDown}.
|
||||
* @type {undefined|function(number):number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.BounceOptions.prototype.easing;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{source: ol.Coordinate,
|
||||
* start: (number|undefined),
|
||||
* duration: (number|undefined),
|
||||
* easing: (undefined|function(number):number)}}
|
||||
*/
|
||||
olx.animation.PanOptions;
|
||||
|
||||
|
||||
/**
|
||||
* The location to start panning from, typically `map.getView().getCenter()`.
|
||||
* @type {ol.Coordinate}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.PanOptions.prototype.source;
|
||||
|
||||
|
||||
/**
|
||||
* The start time of the animation. Default is immediately.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.PanOptions.prototype.start;
|
||||
|
||||
|
||||
/**
|
||||
* The duration of the animation in milliseconds. Default is `1000`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.PanOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* The easing function to use. Can be an {@link ol.easing} or a custom function.
|
||||
* Default is {@link ol.easing.inAndOut}.
|
||||
* @type {undefined|function(number):number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.PanOptions.prototype.easing;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{rotation: (number|undefined),
|
||||
* anchor: (ol.Coordinate|undefined),
|
||||
* start: (number|undefined),
|
||||
* duration: (number|undefined),
|
||||
* easing: (undefined|function(number):number)}}
|
||||
*/
|
||||
olx.animation.RotateOptions;
|
||||
|
||||
|
||||
/**
|
||||
* The rotation value (in radians) to begin rotating from, typically
|
||||
* `map.getView().getRotation()`. If `undefined` then `0` is assumed.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.RotateOptions.prototype.rotation;
|
||||
|
||||
|
||||
/**
|
||||
* The rotation center/anchor. The map rotates around the center of the view
|
||||
* if unspecified.
|
||||
* @type {ol.Coordinate|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.RotateOptions.prototype.anchor;
|
||||
|
||||
|
||||
/**
|
||||
* The start time of the animation. Default is immediately.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.RotateOptions.prototype.start;
|
||||
|
||||
|
||||
/**
|
||||
* The duration of the animation in milliseconds. Default is `1000`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.RotateOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* The easing function to use. Can be an {@link ol.easing} or a custom function.
|
||||
* Default is {@link ol.easing.inAndOut}.
|
||||
* @type {undefined|function(number):number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.RotateOptions.prototype.easing;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{resolution: number,
|
||||
* start: (number|undefined),
|
||||
* duration: (number|undefined),
|
||||
* easing: (undefined|function(number):number)}}
|
||||
*/
|
||||
olx.animation.ZoomOptions;
|
||||
|
||||
|
||||
/**
|
||||
* number The resolution to begin zooming from, typically
|
||||
* `map.getView().getResolution()`.
|
||||
* @type {number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.ZoomOptions.prototype.resolution;
|
||||
|
||||
|
||||
/**
|
||||
* The start time of the animation. Default is immediately.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.ZoomOptions.prototype.start;
|
||||
|
||||
|
||||
/**
|
||||
* The duration of the animation in milliseconds. Default is `1000`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.ZoomOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* The easing function to use. Can be an {@link ol.easing} or a custom function.
|
||||
* Default is {@link ol.easing.inAndOut}.
|
||||
* @type {undefined|function(number):number}
|
||||
* @api
|
||||
*/
|
||||
olx.animation.ZoomOptions.prototype.easing;
|
||||
|
||||
|
||||
/**
|
||||
* Namespace.
|
||||
* @type {Object}
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
* @namespace olx
|
||||
*/
|
||||
|
||||
/**
|
||||
* @namespace olx.animation
|
||||
*/
|
||||
|
||||
/**
|
||||
* @namespace olx.control
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user