Geolocation Element Demo

1. Manual Location Request

Click the element below to request the current location.

Geolocation element is not supported
Waiting for user interaction...

2. Automatic Location Request

This element has the autolocate attribute and will request the location on page load, if the current permission status already allows it.

Geolocation element is not supported
Waiting for permission...

3. Watch Location

This element has the watch attribute and will continuously report location updates as they occur.

Geolocation watch element is not supported
Waiting for location updates...

Demo Instructions

In Chrome M143 or later, go to chrome://flags#geolocation-element and enable the experiment.

Alternatively, follow these instructions to enable experimental support:

On GitHub