-1

Google reverse geocode api returning zero result when using lat/lng but returns correct result using place_id For example Calling below link(replace key with your API key) returns the result https://maps.googleapis.com/maps/api/geocode/json?place_id=ChIJhe1fRCHr_TgREPeGUJcJu9E&key=XXXXXXXXXXXXXXXXX

But calling below link for same location using lat/lng returns zero result http://maps.googleapis.com/maps/api/geocode/json?latlng=34.1525864,77.57705349999999

Viraj Nalawade
  • 3,137
  • 3
  • 28
  • 44

2 Answers2

0

The LatLng is placed in a disputed area, google usually tries to avoid to include results from such places.

Dr.Molle
  • 116,463
  • 16
  • 195
  • 201
0

You can use SnappyGuide Reverse Geocoding API if you are open to use any other service other than google? Ref: http://api.snappyguide.com:8087/user/places/geocode?location=34.1525864,77.57705349999999

Matt
  • 3
  • 4