We're using the navigator.permissions.query() API to find out whether you allow this site to access your location. Use your browser UI to grant location access to this site if you wish to experience this example.

Chrome: Secure badge > Location > Always allow on this site

refresh