No olx and ol types for ol/interaction/DragPan

This commit is contained in:
ahocevar
2018-03-14 13:40:46 +01:00
parent 12581b6a77
commit a71ad16995
3 changed files with 19 additions and 43 deletions
-25
View File
@@ -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)}}
-9
View File
@@ -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