Add 'tracking' property to ol.DeviceOrientation

This commit is contained in:
Frederic Junod
2013-04-16 09:40:59 +02:00
parent 448e300a03
commit c431cc7f63
3 changed files with 73 additions and 9 deletions

View File

@@ -37,9 +37,12 @@
<div class="span4">
<h4 id="title">Device orientation example</h4>
<p>&alpha; : <code id="alpha"></code> rad</p>
<p>&beta; : <code id="beta"></code> rad</p>
<p>&gamma; : <code id="gamma"></code> rad</p>
<label class="checkbox" for="track">
<input id="track" type="checkbox"/>track changes
</label>
<p>&alpha; : <code id="alpha"></code></p>
<p>&beta; : <code id="beta"></code></p>
<p>&gamma; : <code id="gamma"></code></p>
<p id="shortdesc">Listen to DeviceOrientation events</p>
<div id="docs">
<p>See the <a href="device-orientation.js" target="_blank">device-orientation.js source</a> to see how this is done.</p>