I want to check the status of my client to show the establishments near that region.
How do I get this information through the Google Maps Geolocation API?
Is there a better way?
The site I've been working on is PiscouAchou.com
I want to check the status of my client to show the establishments near that region.
How do I get this information through the Google Maps Geolocation API?
Is there a better way?
The site I've been working on is PiscouAchou.com
First of all, in order to get the user's location, he must allow his site to have access to his location. However it is not always a good practice to ask for his location right away, you need a "good reason" for such an action. You may be reading more about this here: User Location .
Another important point, the Google Geolocation API, has a limit for FREE users, that is, test with your users, see if you will exceed this limit daily, because if you pass, you will have to see if it is feasible pay the API or even find another to supply the site. Example here: Google Maps Geolocation API .