HTML5: Geolocation in Depth shows how to add location tracking to a web application with a
combination of JavaScript, CSS and HTML5. First, author and HTML5 expert Bill Weinman
provides a thorough explanation of the geolocation API, including considerations every
developer should take into account, such as data dependability, power usage, and privacy
concerns. The course then covers how to detect support for geolocation, retrieve coordinates
from a device (whether once or continuously), handle errors, and integrate the results with
Google Maps to create a location-aware web application that will run on many mobile browsers.
Exercise files are included with the course.
Topics include:
Understanding how geolocation works
Detecting geolocation support
Getting coordinates
Continuous tracking with watchPosition()
Integrating geolocation with Google Maps