No olx and ol types for ol/interaction/DragRotate

This commit is contained in:
ahocevar
2018-03-15 17:08:32 +01:00
parent a71ad16995
commit 5d0ea11189
3 changed files with 20 additions and 77 deletions
-50
View File
@@ -5,56 +5,6 @@
let olx;
/**
* @typedef {{condition: (ol.EventsConditionType|undefined),
* duration: (number|undefined)}}
*/
olx.interaction.DragRotateAndZoomOptions;
/**
* A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
* to indicate whether that event should be handled.
* Default is {@link ol.events.condition.shiftKeyOnly}.
* @type {ol.EventsConditionType|undefined}
* @api
*/
olx.interaction.DragRotateAndZoomOptions.prototype.condition;
/**
* Animation duration in milliseconds. Default is `400`.
* @type {number|undefined}
* @api
*/
olx.interaction.DragRotateAndZoomOptions.prototype.duration;
/**
* @typedef {{condition: (ol.EventsConditionType|undefined),
* duration: (number|undefined)}}
*/
olx.interaction.DragRotateOptions;
/**
* A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
* to indicate whether that event should be handled.
* Default is {@link ol.events.condition.altShiftKeysOnly}.
* @type {ol.EventsConditionType|undefined}
* @api
*/
olx.interaction.DragRotateOptions.prototype.condition;
/**
* Animation duration in milliseconds. Default is `250`.
* @type {number|undefined}
* @api
*/
olx.interaction.DragRotateOptions.prototype.duration;
/**
* @typedef {{className: (string|undefined),
* condition: (ol.EventsConditionType|undefined),
-18
View File
@@ -1,22 +1,4 @@
/**
* @typedef {Object} interaction_DragRotateAndZoomOptions
* @property {ol.EventsConditionType|undefined} condition A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
* to indicate whether that event should be handled.
* Default is {@link ol.events.condition.shiftKeyOnly}.
* @property {number|undefined} duration Animation duration in milliseconds. Default is `400`.
*/
/**
* @typedef {Object} interaction_DragRotateOptions
* @property {ol.EventsConditionType|undefined} condition A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
* to indicate whether that event should be handled.
* Default is {@link ol.events.condition.altShiftKeysOnly}.
* @property {number|undefined} duration Animation duration in milliseconds. Default is `250`.
*/
/**
* @typedef {Object} interaction_DragZoomOptions
* @property {string|undefined} className CSS class name for styling the box. The default is `ol-dragzoom`.