Geolocation API Demo

Request the current position with the Geolocation API. The page must run in a secure context (HTTPS or localhost), and the browser will ask for permission.

Current position

Uses navigator.geolocation.getCurrentPosition().

${status}

Latitude
${latitude}
Longitude
${longitude}
Accuracy
${accuracy} m
Altitude
${altitude} m
Timestamp
${timestamp}