Reputation: 1135
I want to find Location Based on Lat and Long Via Maps API But in some Points It Returns Zero Result
. For example a point in Persian Gulf . in such case i want to find out this point belongs to Persian Gulf (instead of Zero Result). what is the best solution for implementing this ?
for example this Link returns ZERO_RESULTS
but when i search this point in google maps it understand this point belongs to Persian gulf
Upvotes: 1
Views: 757
Reputation: 117334
The result you get on google-maps is the response of a places-TextSearch.
So when the geocoding doesn't return any result, send an additional request to the places-service to get some informations about the coordinate.
Upvotes: 1