0
Related support question: ERROR(1): User denied Geolocation
Please add allow-same-origin to the Stack Snippet sandbox in order to be able to use the Geolocation API.
As example, the following code was taken from the above link. Once I clicked the Show my location button, the result panel shows ...