enable kinetic for the mobile-navigation example, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11223 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -13,7 +13,8 @@
|
|||||||
map = new OpenLayers.Map( 'map', { controls: [
|
map = new OpenLayers.Map( 'map', { controls: [
|
||||||
new OpenLayers.Control.TouchNavigation({
|
new OpenLayers.Control.TouchNavigation({
|
||||||
dragPanOptions: {
|
dragPanOptions: {
|
||||||
interval: 0 // non-zero kills performance on some mobile phones
|
interval: 0, // non-zero kills performance on some mobile phones
|
||||||
|
enableKinetic: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
] });
|
] });
|
||||||
|
|||||||
Reference in New Issue
Block a user