Chrome 144 shipped <geolocation>, an HTML element that replaces the imperative location API with something declarative. User clicks a button, permission flows naturally. Includes autolocate attribute and degrades gracefully in Firefox and Safari.
developer.chrome.com/blog/geoloc...
developer.chrome.com
Discover the new way to request user location data.