No olx and ol types for ol/interaction/DragPan
This commit is contained in:
@@ -5,31 +5,6 @@
|
||||
let olx;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{condition: (ol.EventsConditionType|undefined),
|
||||
* kinetic: (ol.Kinetic|undefined)}}
|
||||
*/
|
||||
olx.interaction.DragPanOptions;
|
||||
|
||||
|
||||
/**
|
||||
* 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.noModifierKeys}.
|
||||
* @type {ol.EventsConditionType|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragPanOptions.prototype.condition;
|
||||
|
||||
|
||||
/**
|
||||
* Kinetic inertia to apply to the pan.
|
||||
* @type {ol.Kinetic|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.DragPanOptions.prototype.kinetic;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{condition: (ol.EventsConditionType|undefined),
|
||||
* duration: (number|undefined)}}
|
||||
|
||||
@@ -1,13 +1,4 @@
|
||||
|
||||
/**
|
||||
* @typedef {Object} interaction_DragPanOptions
|
||||
* @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.noModifierKeys}.
|
||||
* @property {ol.Kinetic|undefined} kinetic Kinetic inertia to apply to the pan.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} interaction_DragRotateAndZoomOptions
|
||||
* @property {ol.EventsConditionType|undefined} condition A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
|
||||
|
||||
Reference in New Issue
Block a user