O'Reilly logo

Developing Hybrid Applications for the iPhone: Using HTML, CSS, and JavaScript to Build Dynamic Apps for the iPhone by Lee S. Barney

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

6. Embedding Google Maps

One capability often needed in iPhone applications is the use of maps. There are several ways to display maps from closing the application and launching the standard iPhone Map application to using a standard Google map. Both approaches have limitations. This chapter discusses how to create and use a Google-based map that looks and behaves like the iPhone Map application without closing the application.

Section 1: Displaying a Map from Within Your QuickConnect JavaScript Application

The iPhone enables an engineer or programmer to use maps with hybrid applications in a couple of ways. The simplest way is to add a link in the display that begins with http://maps.google.com and contains the mapping information desired. ...

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