[OpenLayers-Commits] r11358 - sandbox/sbrunner/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Feb 23 12:01:56 EST 2011
Author: sbrunner
Date: 2011-02-23 09:01:56 -0800 (Wed, 23 Feb 2011)
New Revision: 11358
Modified:
sandbox/sbrunner/openlayers/examples/geolocation.js
Log:
add debug messages
Modified: sandbox/sbrunner/openlayers/examples/geolocation.js
===================================================================
--- sandbox/sbrunner/openlayers/examples/geolocation.js 2011-02-23 16:57:01 UTC (rev 11357)
+++ sandbox/sbrunner/openlayers/examples/geolocation.js 2011-02-23 17:01:56 UTC (rev 11358)
@@ -112,11 +112,8 @@
var first = true;
// Device Orientation
-if (first) window.alert(111);
if (window.DeviceOrientationEvent) {
-if (first) window.alert(222);
var f = function(event) {
-if (first) window.alert(333);
// if (event.alpha) {
var orientation = event.alpha - window.orientation - 90;
var img = OpenLayers.Util.getElement('northimg');
More information about the Commits
mailing list