Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dhanasekarit

macrumors newbie
Original poster
Aug 5, 2008
16
0
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

macrumors newbie
Aug 22, 2008
25
0
Your question may be better answered on websites like Hackint0sh.org and ModMyiFone.com under the developer forum.
 

Luke Redpath

macrumors 6502a
Nov 9, 2007
733
6
Colchester, UK
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

macrumors newbie
Aug 14, 2008
20
0
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

macrumors 6502
Jun 26, 2008
318
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.