use the touch navigation control in the mobile examples, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11224 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ function init() {
|
|||||||
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
||||||
),
|
),
|
||||||
controls: [
|
controls: [
|
||||||
new OpenLayers.Control.Navigation({dragPanOptions: {enableKinetic: true}}),
|
new OpenLayers.Control.TouchNavigation({dragPanOptions: {enableKinetic: true}}),
|
||||||
new OpenLayers.Control.Attribution(),
|
new OpenLayers.Control.Attribution(),
|
||||||
new OpenLayers.Control.DrawFeature(
|
new OpenLayers.Control.DrawFeature(
|
||||||
vector, OpenLayers.Handler.Point, {id: "point-control"}
|
vector, OpenLayers.Handler.Point, {id: "point-control"}
|
||||||
|
|||||||
Reference in New Issue
Block a user