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

Get Developing Hybrid Applications for the iPhone: Using HTML, CSS, and JavaScript to Build Dynamic Apps for the iPhone 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.