sensible defaut for dragpan interval, r=crschmidt (#3317)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12031 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-05-30 12:55:16 +00:00
parent d6698e3771
commit 7a51a782bc
6 changed files with 5 additions and 12 deletions

View File

@@ -32,10 +32,11 @@ OpenLayers.Control.DragPan = OpenLayers.Class(OpenLayers.Control, {
/**
* Property: interval
* {Integer} The number of milliseconds that should ellapse before
* panning the map again. Set this to increase dragging performance.
* Defaults to 25 milliseconds.
* panning the map again. Defaults to 1 millisecond. In most cases
* you won't want to change this value. For slow machines/devices
* larger values can be tried out.
*/
interval: 25,
interval: 1,
/**
* APIProperty: documentDrag