Migrated from: Leaflet#10097
Original author: danallsop
Original created: 2026-02-04T12:29:11Z
Apparently the Chrome folks are pushing for a <geolocation> HTML element, which is a sub-type of <permission> element, which is meant to control browser permissions in a page.
It's an alternative to the navigator.geolocation API. Doesn't really complement it. I've skimmed through the info at https://matuzo.at/blog/2026/geolocation-element .
We might want to investigate this once it lands on Firefox and Safari, maybe code a L.Control that leverages it.
Apparently the Chrome folks are pushing for a
<geolocation>HTML element, which is a sub-type of<permission>element, which is meant to control browser permissions in a page.It's an alternative to the
navigator.geolocationAPI. Doesn't really complement it. I've skimmed through the info at https://matuzo.at/blog/2026/geolocation-element .We might want to investigate this once it lands on Firefox and Safari, maybe code a
L.Controlthat leverages it.