Map on iPhone?

Discussion in 'iOS Programming' started by dhanasekarit, Aug 22, 2008.

  1. dhanasekarit macrumors newbie

    Aug 5, 2008
    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
  2. gsbedi macrumors newbie

    Aug 22, 2008
    Your question may be better answered on websites like and under the developer forum.
  3. robbieduncan Moderator emeritus


    Jul 24, 2002
    Or even the iPhone Programming forum on these very forums!
  4. Luke Redpath macrumors 6502a

    Nov 9, 2007
    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.
  5. mchlhannah8 macrumors newbie

    Aug 14, 2008
    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??
  6. ayasin macrumors 6502

    Jun 26, 2008
    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.

Share This Page