Reputation: 3221
I need to reverse geocode based on latitude and longitude. Actually this is for my iPhone application where I get the latitude and longitude from core location api and pass that to the back end. Using those values server do the reverse geocoding and grab the address. So my concern is that the google reverse geocoding API is not permitted to use without the map as they say.
"Note: the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions."
So how do I capture user locations (country, state) for my iPhone? If there is a way to get that from iPhone SDK its also better.
Thank you.
Upvotes: 4
Views: 4752
Reputation:
Use the MKReverseGeocoder provided in the MapKit.
Edit: Sorry, I misunderstood your question. You'll have to use a 3rd party reverse geocoder then. For example, try www.geonames.org.
Upvotes: 1