Enabling kinetic dragging on the mobile draw example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -48,7 +48,11 @@ function init() {
|
|||||||
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
||||||
),
|
),
|
||||||
controls: [
|
controls: [
|
||||||
new OpenLayers.Control.TouchNavigation(),
|
new OpenLayers.Control.TouchNavigation({
|
||||||
|
dragPanOptions: {
|
||||||
|
enableKinetic: true
|
||||||
|
}
|
||||||
|
}),
|
||||||
new OpenLayers.Control.ZoomPanel(),
|
new OpenLayers.Control.ZoomPanel(),
|
||||||
toolbar
|
toolbar
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user