[OpenLayers-Commits] r11621 - sandbox/cmoullet/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Sun Mar 6 01:54:20 EST 2011
Author: cmoullet
Date: 2011-03-05 22:54:19 -0800 (Sat, 05 Mar 2011)
New Revision: 11621
Modified:
sandbox/cmoullet/openlayers/examples/navigator.js
Log:
Zoom to an appropriate level
Modified: sandbox/cmoullet/openlayers/examples/navigator.js
===================================================================
--- sandbox/cmoullet/openlayers/examples/navigator.js 2011-03-06 06:41:19 UTC (rev 11620)
+++ sandbox/cmoullet/openlayers/examples/navigator.js 2011-03-06 06:54:19 UTC (rev 11621)
@@ -36,6 +36,7 @@
map.addControl(geolocate);
geolocate.events.register("locationupdated", this, function(e) {
+ map.zoomTo(17);
});
geolocate.events.register("locationuncapable", this, function(e) {
More information about the Commits
mailing list