C H A P T E R  7

GPS and Google Maps

Of all the mobile web development I've done, I've had the most fun working with the Global Positioning System (GPS). GPS gives you as the developer a lot of power to connect the real world to a web site or mobile app that provides a connection to your user that is far more intimate than technologies such as user preferences or personalization.

To make things even better, what if you had the entire world that could be viewed through either road maps or satellite photos and everything could be interfaced via JavaScript? Hey, we have something for that, and it's called Google Maps.

The one thing about having both of these at your disposal is you can add incredibly powerful functionality with very little code. ...

Get Learn HTML5 and JavaScript for iOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.