[Commits] r2578 - sandbox/cmoullet/ux/GeolocationAPI/examples

commits at geoext.org commits at geoext.org
Sun Jan 23 17:11:43 CET 2011


Author: cmoullet
Date: 2011-01-23 17:11:43 +0100 (Sun, 23 Jan 2011)
New Revision: 2578

Added:
   sandbox/cmoullet/ux/GeolocationAPI/examples/ajax-loader.gif
Modified:
   sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.html
   sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.js
Log:
Add waiting dialog


Added: sandbox/cmoullet/ux/GeolocationAPI/examples/ajax-loader.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/cmoullet/ux/GeolocationAPI/examples/ajax-loader.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.html
===================================================================
--- sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.html	2011-01-21 19:37:47 UTC (rev 2577)
+++ sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.html	2011-01-23 16:11:43 UTC (rev 2578)
@@ -47,6 +47,6 @@
 </head>
 <body onload='init();'>
 <div id="map"></div>
-<div id="positionInfo"></div>
+<div id="positionInfo"><img src="ajax-loader.gif">...getting location...</div>
 </body>
 </html>

Modified: sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.js
===================================================================
--- sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.js	2011-01-21 19:37:47 UTC (rev 2577)
+++ sandbox/cmoullet/ux/GeolocationAPI/examples/geolocationapimobileexample.js	2011-01-23 16:11:43 UTC (rev 2578)
@@ -12,7 +12,7 @@
     var GeolocationAPIControl = new OpenLayers.Control.GeolocationAPI({mode: 'position',
         displayPosition: false,
         displayAccuracy: true,
-        geolocationOptions: {timeout:3000}});
+        geolocationOptions: {timeout:5000}});
     map.addControl(GeolocationAPIControl);
 
     var layer = new OpenLayers.Layer.OSM("OSM");



More information about the Commits mailing list