7/ We have a guide to this whole process of browser geolocation to geocoding with example javascript (where the code screenshots above came from)
https://opencagedata.com/guides/how-to-determine-user-location-via-browser-geolocation
Top-level
7/ We have a guide to this whole process of browser geolocation to geocoding with example javascript (where the code screenshots above came from) https://opencagedata.com/guides/how-to-determine-user-location-via-browser-geolocation 3 comments
9/ Wrapping up - browser location is an interesting tool that can be used to improve the user's web application experience. But ... it requires user permission, and even if that permission is granted it can be inaccurate or misleading. π©βπ Want to learn more? Here's the official W3C geolocation spec: https://w3c.github.io/geolocation-api/ |
8/ Want to see browser geolocation in action?
Give it a go on this OpenLayers tutorial:
https://openlayers.org/en/latest/examples/geolocation.html
But make sure you haven't disabled geolocation in your browser settings. Some browsers helpfully show this in the nav bar.
Please note also that if browser location relies on IP geolocation it can be misled by VPNs.
#geoeducation