EmilyLopez-Ichikawa / Love-Letters

0 stars 0 forks source link

Add search functionality to map #20

Open eriledup opened 3 years ago

eriledup commented 3 years ago

1. UI Link or description Emma to provide

2. What user problem does this solve? As a user, I want to quickly find a specific place in the map without dragging

3. Acceptance Criteria (Given, When, Then) Happy and Sad Path Given when I click into the search bar and start typing I will see a specific set of possible options (pulled from google maps?)

Given when I hit enter and search, if there is a specific place/address associated with my location, then the map will zoom to appropriate amount and center around that location then drop an "add" pin for that location (if there is no pin there already)

Given when I hit enter and search, if there is no specific place/address associated with my location (ie "St. Louis"), then the map will zoom to appropriate amount and center around that area

Given when I click into the search bar and start typing a query with no results (ie "alskdjf"), Then I won't see a specific set of possible options Given when I hit enter on search for a query with no results then the map will remain in the same zoom and position and UI will display "no results"

4. Developer Implementation Notes

eriledup commented 3 years ago

@EmilyLopez-Ichikawa I added these notes