How to fetch the addresss of few places on google map which show unavailable with given lat,lng -


i facing problem relates geocoding in using google geocode map api given lat,lng (for example 32.983025 75.710981),the return result gives status zero_result.how can handle find find address particular lat,lng,which should understandable end user.enter image description here

you can check status of returned result. if status not ok can give error message saying address not found.

<status>ok</status> 

you can validate input , inform user needs in "lat, lon" format


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -