PDA

View Full Version : Map on iPhone?




dhanasekarit
Aug 22, 2008, 04:06 AM
Hi, I am developing small iPhone application. But i've a problem on showing google map on iPhone. i don't know how to show google map in my view controller application. let me know*

Thank you



gsbedi
Aug 22, 2008, 04:28 AM
Your question may be better answered on websites like Hackint0sh.org and ModMyiFone.com under the developer forum.

robbieduncan
Aug 22, 2008, 04:48 AM
Your question may be better answered on websites like Hackint0sh.org and ModMyiFone.com under the developer forum.

Or even the iPhone Programming forum on these very forums!

Luke Redpath
Aug 22, 2008, 08:42 AM
I don't think it's possible to embed google maps in your app (and you may never be able to either due to licensing issues) - instead you should link to the map using the approprite URI - the standard way of communicating with other apps - the iPhone will open this in the native Google Maps application. People can then return to your app when you are done.

Take a look at the Vicinity app for an example of this. You'll have to save your application state so people can return to where they left off when they return to your app.

mchlhannah8
Aug 22, 2008, 05:23 PM
Hi, I am developing small iPhone application. But i've a problem on showing google map on iPhone. i don't know how to show google map in my view controller application. let me know*

Thank you

hey dude .. it is really easy to use... you just type in the address and press serch, which shows u the map. the if u press the thing on most right bottom, u see drop pin and hide traffic... okie??

ayasin
Aug 22, 2008, 05:34 PM
Hi, I am developing small iPhone application. But i've a problem on showing google map on iPhone. i don't know how to show google map in my view controller application. let me know*

Thank you

You could do it technically by adding a UIWebView to your UIViewController and having the UIWebView load the google maps URL. You can't do it legally however because it's a violation of the google maps terms of use.