No olx and ol types for ol/interaction/PinchZoom

This commit is contained in:
ahocevar
2018-03-16 16:42:34 +01:00
parent 998b8df55d
commit 89f6d74696
3 changed files with 17 additions and 40 deletions
-25
View File
@@ -46,31 +46,6 @@ olx.interaction.TranslateOptions.prototype.layers;
olx.interaction.TranslateOptions.prototype.hitTolerance;
/**
/**
* @typedef {{
* duration: (number|undefined),
* constrainResolution: (boolean|undefined)
* }}
*/
olx.interaction.PinchZoomOptions;
/**
* Animation duration in milliseconds. Default is `400`.
* @type {number|undefined}
* @api
*/
olx.interaction.PinchZoomOptions.prototype.duration;
/**
* Zoom to the closest integer zoom level after the pinch gesture ends. Default is `false`.
* @type {boolean|undefined}
* @api
*/
olx.interaction.PinchZoomOptions.prototype.constrainResolution;
/**
* @typedef {{handleDownEvent: (function(ol.MapBrowserPointerEvent):boolean|undefined),
* handleDragEvent: (function(ol.MapBrowserPointerEvent)|undefined),
-7
View File
@@ -14,13 +14,6 @@
*/
/**
* @typedef {Object} interaction_PinchZoomOptions
* @property {number|undefined} duration Animation duration in milliseconds. Default is `400`.
* @property {boolean|undefined} constrainResolution Zoom to the closest integer zoom level after the pinch gesture ends. Default is `false`.
*/
/**
* @typedef {Object} interaction_PointerOptions
* @property {(function(ol.MapBrowserPointerEvent):boolean|undefined)} handleDownEvent Function handling "down" events. If the function returns `true` then a drag