Geolocation API allows web apps to access user's geographical location - using either GPS or network environment.
https://nectar.website/demo/web-apis/geolocation/arrow-up-right
You can refer to the code present in /partials/web-apis/geolocation.html file and use it accordingly.
/partials/web-apis/geolocation.html
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_APIarrow-up-right
Last updated 3 years ago