Geolocation Element Demo
1. Manual Location Request
Click the element below to request the current location.
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.
Waiting for permission...
3. Watch Location
This element has the watch attribute and will continuously
report location updates as they occur.
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:
- Shut down the browser process.
-
Restart the browser with this command line flag:
--enable-features=PermissionElement,GeolocationElement
-
Ensure the flags actually took effect by verifying they appear on:
chrome://version