phlask-map icon indicating copy to clipboard operation
phlask-map copied to clipboard

Give forms the ability to set either the address location or current location

Open vontell opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe.

In a previous ticket (#392), we added the existing latitude and longitude for a resource into the Firebase data. However, we so far only implemented the option of "use my existing address", not the address of an address typed in. This ticket is to make sure that the user has both options.

Describe the solution you'd like

The logic should be as follows:

  • If the user provides an address (by searching or typing), we should use that latitude and longitude from the google places API.
  • If they don't type out an address and click the "use my location" button, it should use that exact lat and long, and also populate the new address at that location into the Street address field.

vontell avatar Apr 30 '24 23:04 vontell