The Geolocation API specification defines an API for scripted access to geographical location information.
The document just published by the Geolocation Working Group is a Last Call Working Draft, which means that the Working Group has determined that this document has satisfied technical requirements and is ready to advance through the W3C Technical Recommendation process to become a W3C Recommendation. Comments can be sent to [email protected].
The requirements for the Geolocation API are to
- provide location data in terms of a pair of latitude and longitude coordinates.
- provide information about the accuracy of the retrieved location data.
- support "one-shot" position updates.
- allow an application to register to receive updates when the position of the hosting device changes.
- allow an application to cheaply query the last known position.
- provide a way for the application to receive updates about errors that may have occurred while obtaining a location fix.
- allow an application to specify a desired accuracy level of the location information.
- be agnostic to the underlying sources of location information.
Comments