diff --git a/build/mobile.cfg b/build/mobile.cfg index 07c1690362..650fd6824e 100644 --- a/build/mobile.cfg +++ b/build/mobile.cfg @@ -16,6 +16,7 @@ OpenLayers/Control/Attribution.js OpenLayers/Control/SelectFeature.js OpenLayers/Layer/Vector.js OpenLayers/Renderer/SVG.js +OpenLayers/Renderer/Canvas.js OpenLayers/Format/GeoJSON.js [exclude] diff --git a/examples/game-accel-ball.html b/examples/game-accel-ball.html new file mode 100644 index 0000000000..ac4037fc87 --- /dev/null +++ b/examples/game-accel-ball.html @@ -0,0 +1,80 @@ + + + + + OpenLayers Game: Bounce Ball + + + + + + + + +

Accelerometer Example

+
+ mobile, game +
+
Simple acceleration demo; roll a vector feature around + on a map. (Only tested on iOS 4.)
+ +
+
+ Demo works best when device is locked in portrait mode. +
+ +