O'Reilly logo

HTML5 iPhone Web Application Development by Alvin Crespo

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

Chapter 6. Location-aware Applications

Geolocation is a widely requested feature in today's applications, giving accurate location-specific information to the user. In this chapter, we'll review the Geolocation API in the HTML5 specification. With this knowledge, we'll go ahead and build a wrapper that allows us to easily tap into this feature. Once we have a thorough understanding of how we can retrieve the user's location, we put our newly found knowledge to use with a simple application that uses the Google Maps API. At the end of this chapter you should have a thorough understanding of the Geolocation specification, have a simple example of its implementation, and as a bonus you should have gained some experience in using the Google Maps API. ...

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