From 89da5debfa32fdd313a276e8c44648fc88edd55d Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Thu, 13 Mar 2014 15:21:42 +0100 Subject: [PATCH] Fix order of olx.interaction.* types --- src/objectliterals.jsdoc | 156 +++++++++++++++++++-------------------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index f6ed9ff560..731746feeb 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -369,56 +369,6 @@ * supported. */ -/** - * @typedef {Object} olx.interaction.DoubleClickZoomOptions - * @property {number|undefined} duration Animation duration in milliseconds. Default is `250`. - * @property {number|undefined} delta The zoom delta applied on each double - * click, default is `1`. - * @todo stability experimental - */ - -/** - * @typedef {Object} olx.interaction.DragAndDropOptions - * @property {Array.|undefined} formatConstructors - * Format constructors. - * @property {ol.proj.ProjectionLike} reprojectTo Target projection. By - * default, the map's view's projection is used. - */ - -/** - * @typedef {Object} olx.interaction.DragRotateOptions - * @property {ol.events.ConditionType|undefined} condition A conditional - * modifier (i.e. Shift key) that determines if the interaction is active - * or not, default is both shift and alt keys. - * @todo stability experimental - */ - -/** - * @typedef {Object} olx.interaction.DragRotateAndZoomOptions - * @property {ol.events.ConditionType|undefined} condition A conditional - * modifier (i.e. Shift key) that determines if the interaction is active - * or not, default is shify key. - * @todo stability experimental - */ - -/** - * @typedef {Object} olx.interaction.DragBoxOptions - * @property {ol.events.ConditionType|undefined} condition A conditional - * modifier (i.e. Shift key) that determines if the interaction is active - * or not, default is always. - * @property {ol.style.Style} style Style for the box. - * @todo stability experimental - */ - -/** - * @typedef {Object} olx.interaction.DragZoomOptions - * @property {ol.events.ConditionType|undefined} condition A conditional - * modifier (i.e. Shift key) that determines if the interaction is active - * or not, default is shift key. - * @property {ol.style.Style} style Style for the box. - * @todo stability experimental - */ - /** * Interactions for the map. Default is `true` for all options. * @typedef {Object} olx.interaction.DefaultsOptions @@ -443,6 +393,63 @@ * @todo stability experimental */ +/** + * @typedef {Object} olx.interaction.DoubleClickZoomOptions + * @property {number|undefined} duration Animation duration in milliseconds. Default is `250`. + * @property {number|undefined} delta The zoom delta applied on each double + * click, default is `1`. + * @todo stability experimental + */ + +/** + * @typedef {Object} olx.interaction.DragAndDropOptions + * @property {Array.|undefined} formatConstructors + * Format constructors. + * @property {ol.proj.ProjectionLike} reprojectTo Target projection. By + * default, the map's view's projection is used. + */ + +/** + * @typedef {Object} olx.interaction.DragBoxOptions + * @property {ol.events.ConditionType|undefined} condition A conditional + * modifier (i.e. Shift key) that determines if the interaction is active + * or not, default is always. + * @property {ol.style.Style} style Style for the box. + * @todo stability experimental + */ + +/** + * @typedef {Object} olx.interaction.DragPanOptions + * @property {ol.Kinetic|undefined} kinetic Kinetic inertia to apply to the + * pan. + * @todo stability experimental + */ + +/** + * @typedef {Object} olx.interaction.DragRotateAndZoomOptions + * @property {ol.events.ConditionType|undefined} condition A conditional + * modifier (i.e. Shift key) that determines if the interaction is active + * or not, default is shify key. + * @todo stability experimental + */ + +/** + * @typedef {Object} olx.interaction.DragRotateOptions + * @property {ol.events.ConditionType|undefined} condition A conditional + * modifier (i.e. Shift key) that determines if the interaction is active + * or not, default is both shift and alt keys. + * @todo stability experimental + */ + +/** + * @typedef {Object} olx.interaction.DragZoomOptions + * @property {ol.events.ConditionType|undefined} condition A conditional + * modifier (i.e. Shift key) that determines if the interaction is active + * or not, default is shift key. + * @property {ol.style.Style} style Style for the box. + * @todo stability experimental + */ + /** * @typedef {Object} olx.interaction.DrawOptions * @property {ol.Collection|undefined} features Destination collection for the drawn features. @@ -478,12 +485,33 @@ * @todo stability experimental */ + /** + * @typedef {Object} olx.interaction.ModifyOptions + * @property {number|undefined} pixelTolerance Pixel tolerance for considering + * the pointer close enough to a vertex for editing. Default is 20 pixels. + * @property {ol.style.Style|Array.|ol.feature.StyleFunction|undefined} style FeatureOverlay style. + * @property {ol.Collection} features The features the interaction works on. + */ + /** * @typedef {Object} olx.interaction.MouseWheelZoomOptions * @property {number|undefined} duration Animation duration in milliseconds. Default is `250`. * @todo stability experimental */ +/** + * @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.PinchZoomOptions + * @property {number|undefined} duration Animation duration in milliseconds. Default is `400`. + * @todo stability experimental + */ + /** * @typedef {Object} olx.interaction.SelectOptions * @property {ol.events.ConditionType|undefined} addCondition A conditional @@ -503,34 +531,6 @@ * @property {ol.style.Style|Array.|ol.feature.StyleFunction|undefined} style FeatureOverlay style. */ -/** - * @typedef {Object} olx.interaction.DragPanOptions - * @property {ol.Kinetic|undefined} kinetic Kinetic inertia to apply to the - * pan. - * @todo stability experimental - */ - - /** - * @typedef {Object} olx.interaction.ModifyOptions - * @property {number|undefined} pixelTolerance Pixel tolerance for considering - * the pointer close enough to a vertex for editing. Default is 20 pixels. - * @property {ol.style.Style|Array.|ol.feature.StyleFunction|undefined} style FeatureOverlay style. - * @property {ol.Collection} features The features the interaction works on. - */ - -/** - * @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.PinchZoomOptions - * @property {number|undefined} duration Animation duration in milliseconds. Default is `400`. - * @todo stability experimental - */ - /** * @typedef {Object} olx.layer.BaseOptions * @property {number|undefined} brightness Brightness. Default is `0`.