This demo captures browser geolocation and writes it to a Firestore document. For production use, secure your Firestore rules and require authentication.
no data
--
Notes: Geolocation requires a secure origin (HTTPS or localhost). While testing, serve this file
from http://localhost (e.g. run python -m http.server in this folder) so geolocation
works.