-1

How to get location details from a longitude/latitude value? Is there anyone who can help me with this situation.

Cœur
  • 37,241
  • 25
  • 195
  • 267
amit rajput
  • 18
  • 12

4 Answers4

1

You can use CLGeocoder to get the details from latitude and longitude.

Check out the CLGeoCoder Class Reference

Mansi Panchal
  • 2,357
  • 18
  • 27
Android
  • 2,383
  • 1
  • 26
  • 44
0

You should take a look at a MaxMind GeoIP API available for many languages: Here

Seçkin Savaşçı
  • 3,446
  • 2
  • 23
  • 39
0

Take a look at the google maps apis reverse geocoding functionality.

https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding

you would make a request like this:

http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true

and receive a json encoded object containing a guess on the address (including city of course)

Gung Foo
  • 13,392
  • 5
  • 31
  • 39
0

This is called 'reverse geocoding', see http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKReverseGeocoder_Class/Reference/Reference.html

Google
  • 2,183
  • 3
  • 27
  • 48