Map on iPhone?

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

  1. macrumors newbie

    Joined:
    Aug 5, 2008
    #1
    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. macrumors newbie

    Joined:
    Aug 22, 2008
    #2
    Your question may be better answered on websites like Hackint0sh.org and ModMyiFone.com under the developer forum.
     
  3. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    Or even the iPhone Programming forum on these very forums!
     
  4. macrumors 6502a

    Joined:
    Nov 9, 2007
    #4
    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. macrumors newbie

    Joined:
    Aug 14, 2008
    #5
    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. macrumors 6502

    Joined:
    Jun 26, 2008
    #6
    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