O'Reilly logo

Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours by Jennifer Kyrnin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 23. Adding Location Detection with Geolocation

What You’ll Learn in This Hour:

• How to detect location data with the Geolocation API

• How to handle privacy concerns with geolocation

• How to use APIs to work with location data

Geolocation allows web designers to solicit the physical location of their users and then provide information to them based on their location. The obvious use of this feature is in maps and directions, but you can also use it for games or promotions based on people’s locations.

In this hour you will learn how to solicit the location data from your users and get some ideas for how to use that data after you have it. You will learn about how privacy concerns have been mitigated by the API itself. You will also learn ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required