0
Get Latitude and Longitude
I want to get latitude and longitude accurately, I've tried using functions from JavaScript but sometimes it's not accurate, sometimes it's accurate. Is there another way such as using a third party API, in this case I've actually tried to get access to the Google Maps API but my card is in reject. Is there any other solution? Thank You in this case I use the React JS framework
2 Answers
0
When you use the geolocation API of the browser, the browser will ask from user if he agree to for this website to know his location and he must accept this permission otherwise will fail. This permission is disabled by default.