0
votes

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

2
You'll get ZERO_RESULTS for any area in J&K IndiaShreeram K
Then why would I would I get some result in an area in J&K when I search by place_id?umesh agarwal

2 Answers

0
votes

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