No olx and ol types for ol/interaction/KeyboardZoom

This commit is contained in:
ahocevar
2018-03-16 15:46:47 +01:00
parent a4a4a0cdca
commit 438ec66c4c
3 changed files with 20 additions and 52 deletions

View File

@@ -46,40 +46,6 @@ olx.interaction.TranslateOptions.prototype.layers;
olx.interaction.TranslateOptions.prototype.hitTolerance;
/**
* @typedef {{duration: (number|undefined),
* condition: (ol.EventsConditionType|undefined),
* delta: (number|undefined)}}
*/
olx.interaction.KeyboardZoomOptions;
/**
* Animation duration in milliseconds. Default is `100`.
* @type {number|undefined}
* @api
*/
olx.interaction.KeyboardZoomOptions.prototype.duration;
/**
* 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.targetNotEditable}.
* @type {ol.EventsConditionType|undefined}
* @api
*/
olx.interaction.KeyboardZoomOptions.prototype.condition;
/**
* The amount to zoom on each key press. Default is `1`.
* @type {number|undefined}
* @api
*/
olx.interaction.KeyboardZoomOptions.prototype.delta;
/**
* @typedef {{
* condition: (ol.EventsConditionType|undefined),

View File

@@ -14,16 +14,6 @@
*/
/**
* @typedef {Object} interaction_KeyboardZoomOptions
* @property {number|undefined} duration Animation duration in milliseconds. Default is `100`.
* @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.targetNotEditable}.
* @property {number|undefined} delta The amount to zoom on each key press. Default is `1`.
*/
/**
* @typedef {Object} interaction_ModifyOptions
* @property {ol.EventsConditionType|undefined} condition A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean