views:

112

answers:

3

Is it possible to add google maps on a site designed specifically for the iPhone? I have never integrated maps in my websites before, so this question really goes more because of my inexperience. Using basic html and javascript at the moment.

+1  A: 

Any link to a Google Maps URL will automatically open in the Maps application, which may be more useful than simply embedding a map view in the website itself.

For example, a link to http://maps.google.com/maps?q=cupertino will automatically open the Maps application and run a search for "cupertino".

Arclite
+1  A: 

The Goole Maps API V3 is specifically designed to work efficiently on mobile devices. There are some great tutorials here and here.

Chris B
A: 

I think, if you only need a google map with some simple function. The simplest way is use the MapKit.Framework, it's a part of iphone OS. You can find the document here.

If you need to load your own web site, you need to use UIWebView. you can find the document here(http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html).

I think these two ways can help you solve your problem. And sorry about the link, because I'm not allowed to post more than one hyperlink.

Void.Tan