Skip to content

feat: Autofill address using browser geolocation #1

Description

@dhruv-git-sys

Currently, the “Select Address” option requires users to manually type their location.
To improve user experience, we can add browser geolocation support that prompts users with the standard Allow/Block popup.

  • On clicking Select Address, the browser will request the user’s location using the Geolocation API.
  • If allowed, the app should automatically fetch the latitude/longitude and use a reverse geocoding service (e.g., OpenStreetMap Nominatim or Google Maps API) to autofill the user’s address in the input field.
  • If blocked/denied, the app will gracefully fallback with an alert or manual entry option.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions