O'Reilly logo

Learn HTML5 and JavaScript for iOS by Scott Preston

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

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

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