HTML5: Geolocation in Depth

with Bill Weinman
please wait ...
HTML5: Geolocation in Depth
Video duration: 0s 34m 19s Intermediate


This course 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.

Topics include:
  • Understanding how geolocation works
  • Detecting geolocation support
  • Getting coordinates
  • Continuous tracking with watchPosition()
  • Integrating geolocation with Google Maps
Developer Web


- [Voiceover] Hi, I"m Bill Weinman and I'd like to welcome you to HTML5 Geolocation In Depth. In this course we look at the HTML5 Geolocation application programming interface, including how Geolocation works, how to get one time and continuous position data. I'll also show you a complete working example that uses HTML5 Geolocation to display a continuously updating map using the Google Map API. The HTML5 Geolocation API provides a simple and effective interface that you can use to create location aware web applications that will run on many desktop and mobile browsers.

Learn how to use this new technology in HTML5 Geolocation In Depth.

please wait ...