From 7d195697b65ecd4f5005967864c3e23394d088af Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 25 Feb 2011 08:59:04 +0000 Subject: [PATCH] Adding example demonstrating device orientation and accelerometer use. Nice example from cmoullet (closes #3083). git-svn-id: http://svn.openlayers.org/trunk/openlayers@11463 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/accelerometer.html | 93 +++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 examples/accelerometer.html diff --git a/examples/accelerometer.html b/examples/accelerometer.html new file mode 100644 index 0000000000..d4b117721d --- /dev/null +++ b/examples/accelerometer.html @@ -0,0 +1,93 @@ + + + + + + OpenLayers Accelerometer Usage + + + + + + + + +

Accelerometer

+ +

+ The goal of this script is to demonstrate the usage of accelerometer.
+ The orientation specification can be found here. +

+ +

Device motion

+ +
+ +
+

Device orientation

+ +
+ +
+

MOZ orientation

+ +
+ +
+ +