adding types to properties from the mousing improvements patch. No functional change, only documentation. (See #1509)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7612 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -30,9 +30,9 @@ OpenLayers.Control.DragPan = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: interval
|
* Property: interval
|
||||||
* The number of milliseconds that should ellapse before
|
* {Integer} The number of milliseconds that should ellapse before
|
||||||
* panning the map again. Set this to increase dragging performance.
|
* panning the map again. Set this to increase dragging performance.
|
||||||
* Defaults to 25 milliseconds.
|
* Defaults to 25 milliseconds.
|
||||||
*/
|
*/
|
||||||
interval: 25,
|
interval: 25,
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ OpenLayers.Control.Navigation = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProprety: dragPanOptions
|
* APIProprety: dragPanOptions
|
||||||
* Options passed to the DragPan control.
|
* {Object} Options passed to the DragPan control.
|
||||||
*/
|
*/
|
||||||
dragPanOptions: null,
|
dragPanOptions: null,
|
||||||
|
|
||||||
|
|||||||
@@ -69,17 +69,18 @@ OpenLayers.Handler.Drag = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: interval
|
* Property: interval
|
||||||
* In order to increase performance, an interval (in milliseconds)
|
* {Integer} In order to increase performance, an interval (in
|
||||||
* can be set to reduce the number of drag events called. If set,
|
* milliseconds) can be set to reduce the number of drag events
|
||||||
* a new drag event will not be set until the interval has passed.
|
* called. If set, a new drag event will not be set until the
|
||||||
* Defaults to 0, meaning no interval.
|
* interval has passed.
|
||||||
|
* Defaults to 0, meaning no interval.
|
||||||
*/
|
*/
|
||||||
interval: 0,
|
interval: 0,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: timeoutId
|
* Property: timeoutId
|
||||||
* The id of the timeout used for the mousedown interval.
|
* {String} The id of the timeout used for the mousedown interval.
|
||||||
* This is "private", and should be left alone.
|
* This is "private", and should be left alone.
|
||||||
*/
|
*/
|
||||||
timeoutId: null,
|
timeoutId: null,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user