November 2011
Intermediate to advanced
384 pages
13h 23m
English
To access the user’s current location, the browser needs to support the Geolocation API or an equivalent fallback, and the user needs to allow access to your website.
One of the fallbacks, Google Gears, was designed by Google to provide a multitude of features prior to when the HTML5 specification took hold. In today’s HTML5 web browsers, Google Gears is obsolete, but it does provide a useful fallback for pre-HTML5 web browsers, especially those that do not understand the Geolocation API.
The Geolocation JavaScript Library is a useful tool that bridges the interface discrepancies between the W3C’s Geolocation API, Google Gears, and some mobile web browsers’ JavaScript GPS interfaces. Once implemented, you can ...
Read now
Unlock full access