No olx and ol types for ol/interaction/DragZoom
This commit is contained in:
@@ -5,49 +5,6 @@
|
||||
let olx;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{className: (string|undefined),
|
||||
* condition: (ol.EventsConditionType|undefined),
|
||||
* duration: (number|undefined),
|
||||
* out: (boolean|undefined)}}
|
||||
*/
|
||||
olx.interaction.DragZoomOptions;
|
||||
|
||||
|
||||
/**
|
||||
* CSS class name for styling the box. The default is `ol-dragzoom`.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragZoomOptions.prototype.className;
|
||||
|
||||
|
||||
/**
|
||||
* 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.DragZoomOptions.prototype.condition;
|
||||
|
||||
|
||||
/**
|
||||
* Animation duration in milliseconds. Default is `200`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragZoomOptions.prototype.duration;
|
||||
|
||||
|
||||
/**
|
||||
* Use interaction for zooming out. Default is `false`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragZoomOptions.prototype.out;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{clickTolerance: (number|undefined),
|
||||
* features: (ol.Collection.<module:ol/Feature~Feature>|undefined),
|
||||
|
||||
@@ -1,15 +1,4 @@
|
||||
|
||||
/**
|
||||
* @typedef {Object} interaction_DragZoomOptions
|
||||
* @property {string|undefined} className CSS class name for styling the box. The default is `ol-dragzoom`.
|
||||
* @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 `200`.
|
||||
* @property {boolean|undefined} out Use interaction for zooming out. Default is `false`.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} interaction_DrawOptions
|
||||
* @property {number|undefined} clickTolerance The maximum distance in pixels between "down" and "up" for a "up" event
|
||||
|
||||
Reference in New Issue
Block a user