Skip to content

Commit

Permalink
Enabling kinetic dragging on the mobile draw example.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
  • Loading branch information
tschaub committed Sep 15, 2011
1 parent f50d1c8 commit b08b956
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/mobile-drawing.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ function init() {
-20037508.34, -20037508.34, 20037508.34, 20037508.34
),
controls: [
new OpenLayers.Control.TouchNavigation(),
new OpenLayers.Control.TouchNavigation({
dragPanOptions: {
enableKinetic: true
}
}),
new OpenLayers.Control.ZoomPanel(),
toolbar
],
Expand Down

0 comments on commit b08b956

Please sign in to comment.