[OpenLayers-Trac] [OpenLayers] #3090: add a getCurrentPosition method to the Geolocate control

OpenLayers trac-20090302 at openlayers.org
Tue Feb 22 15:56:40 EST 2011


#3090: add a getCurrentPosition method to the Geolocate control
---------------------+------------------------------------------------------
 Reporter:  erilem   |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  Control  |     Version:  2.10        
 Keywords:  mobile   |       State:              
---------------------+------------------------------------------------------
 This ticket suggests adding a {{{getCurrentPosition}}} (or
 {{{getCurrentLocation}}}) API method to the {{{Geolocate}}} control.

 When {{{getCurrentPosition}}} is called the control calls
 {{{getCurrentPosition}}} on the {{{navigator.geolocation}}} object and
 eventually triggers an event to report the result.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3090>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list