platform-guideline checked

MDN Web Docs: Geolocation API

Documents secure-context geolocation access, user permission prompts, current-position and watch-position methods, position and error callbacks, permission lifetime, and privacy-sensitive location data.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Location permission flow Choose location permission flow when current device coordinates are the central interaction and the task needs permission timing, precision, grant or denial recovery, and location lifecycle states. The native browser or OS prompt appears only after users understand why location is needed and choose a location-dependent action. Supports secure-context geolocation, prompts, current or watched position, errors, permission lifetime, and privacy warnings.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: MDN Web Docs. Last checked: .