iPhone SDK: Get GPS coordinates from Google Maps

Posted by RaYell on Stack Overflow See other posts from Stack Overflow or by RaYell
Published on 2010-03-29T12:17:22Z Indexed on 2010/03/29 12:33 UTC
Read the original article Hit count: 1035

In an iPhone application I'm developing I need to get GPS coordinates to perform some actions based on the values received. Users should have two possibilities of giving the location:

  • automatically from iPhone build-in GPS
  • by finding a specific point on a map (Google Maps)

I know how to user CLLocationManager to get current position coordinates and I know how to add Google Maps using JS API. What I would like to know if how can I get coordinates for a specific point on a map that user clicks. Is that possible with UIWebView or is there any other way of getting the values I need?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk