Rename interactions
The idea behind the naming scheme is that for example for `DragRotate`, `Rotate` is the action and `Drag` the gesture that issues the action.
This commit is contained in:
@@ -432,10 +432,12 @@
|
||||
* desired. Default is `true`.
|
||||
* @property {boolean|undefined} shiftDragZoom Whether Shift-drag zoom is
|
||||
* desired. Default is `true`.
|
||||
* @property {boolean|undefined} pan Whether pan is
|
||||
* @property {boolean|undefined} dragPan Whether drag pan is
|
||||
* desired. Default is `true`.
|
||||
* @property {boolean|undefined} pinchRotate Whether pinch rotate is
|
||||
* desired. Default is `true`.
|
||||
* @property {boolean|undefined} pinchZoom Whether pinch zoom is
|
||||
* desired. Default is `true`.
|
||||
* @property {boolean|undefined} rotate Whether rotate is desired. Default is `true`.
|
||||
* @property {boolean|undefined} zoom Whether zoom is desired. Default is `true`.
|
||||
* @property {number|undefined} zoomDelta Zoom delta.
|
||||
* @property {number|undefined} zoomDuration Zoom duration.
|
||||
* @todo stability experimental
|
||||
@@ -502,7 +504,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.interaction.PanOptions
|
||||
* @typedef {Object} olx.interaction.DragPanOptions
|
||||
* @property {ol.Kinetic|undefined} kinetic Kinetic inertia to apply to the
|
||||
* pan.
|
||||
* @todo stability experimental
|
||||
@@ -517,14 +519,14 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.interaction.RotateOptions
|
||||
* @typedef {Object} olx.interaction.PinchRotateOptions
|
||||
* @property {number|undefined} threshold Minimal angle in radians to start a rotation.
|
||||
* Default is `0.3`.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.interaction.ZoomOptions
|
||||
* @typedef {Object} olx.interaction.PinchZoomOptions
|
||||
* @property {number|undefined} duration Animation duration in milliseconds. Default is `400`.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user