100 milliseconds seems to be a good value for drag pan interval on most devices, no functional change (closes #3093)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11501 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -34,7 +34,7 @@ var init = function () {
|
|||||||
new OpenLayers.Control.Attribution(),
|
new OpenLayers.Control.Attribution(),
|
||||||
new OpenLayers.Control.TouchNavigation({
|
new OpenLayers.Control.TouchNavigation({
|
||||||
dragPanOptions: {
|
dragPanOptions: {
|
||||||
interval: 0, // non-zero kills performance on some mobile phones
|
interval: 100,
|
||||||
enableKinetic: true
|
enableKinetic: true
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ function init() {
|
|||||||
controls: [
|
controls: [
|
||||||
new OpenLayers.Control.TouchNavigation({
|
new OpenLayers.Control.TouchNavigation({
|
||||||
dragPanOptions: {
|
dragPanOptions: {
|
||||||
interval: 0, // non-zero kills performance on some mobile phones
|
interval: 100,
|
||||||
enableKinetic: true
|
enableKinetic: true
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ var init = function () {
|
|||||||
new OpenLayers.Control.Attribution(),
|
new OpenLayers.Control.Attribution(),
|
||||||
new OpenLayers.Control.TouchNavigation({
|
new OpenLayers.Control.TouchNavigation({
|
||||||
dragPanOptions: {
|
dragPanOptions: {
|
||||||
interval: 0, // non-zero kills performance on some mobile phones
|
interval: 100,
|
||||||
enableKinetic: true
|
enableKinetic: true
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user