[OpenLayers-Commits] r11352 - sandbox/sbrunner/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Feb 23 11:38:12 EST 2011
Author: sbrunner
Date: 2011-02-23 08:38:12 -0800 (Wed, 23 Feb 2011)
New Revision: 11352
Modified:
sandbox/sbrunner/openlayers/examples/geolocation.js
Log:
new test
Modified: sandbox/sbrunner/openlayers/examples/geolocation.js
===================================================================
--- sandbox/sbrunner/openlayers/examples/geolocation.js 2011-02-23 16:34:34 UTC (rev 11351)
+++ sandbox/sbrunner/openlayers/examples/geolocation.js 2011-02-23 16:38:12 UTC (rev 11352)
@@ -58,6 +58,7 @@
}
});
map.addControl(geolocate);
+var arrow = null;
geolocate.events.register("locationupdated",this,function(e) {
vector.removeAllFeatures();
var circle = new OpenLayers.Feature.Vector(
@@ -121,8 +122,8 @@
img.style.webkitTransform = value;
window.alert(777);
window.alert(""+orientation);
- window.alert(""+arrow.fid);
- window.alert(""+arrow.style.rotation);
+ window.alert(""+typeof(arrow));
+ window.alert(""+typeof(arrow.style));
arrow.style.rotation = -orientation;
window.alert(888);
More information about the Commits
mailing list