Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounds Search #765

Merged
merged 6 commits into from
Oct 31, 2020
Merged

Bounds Search #765

merged 6 commits into from
Oct 31, 2020

Conversation

bbovenzi
Copy link
Contributor

  • Add optional max/min Lat and Lng bounds to organization search. If there are bounds we will search by that, otherwise we will fall back on a center lat, lng with a distance radius
  • "Search this area" will search by bounds
  • Change default centers, radius, and zoom for each org to make sure our default view is centered where we have data, at a useful zoom level, and a large enough radius to fill the whole map on desktop
  • Refactor how the map center "origin" is calculated. (combine and remove redundant variables, rename some variables, remove unnecessary sessionStorage variables)
  • Add a button to the search bar to search your current location (if we have it, otherwise its disabled)

Screen Shot 2020-10-28 at 2 10 58 PM

- Search this area uses bound search
- fallback on center/distance search
- adjust default zoom/radius/center for tenants
- remove distance dropdown
- add a button to the search bar to search your current location
- refactor how map center is calculated (remove redundant props, better names, remove uneccessary sessionStorage items)
@bbovenzi bbovenzi requested a review from entrotech October 28, 2020 20:11
@bbovenzi bbovenzi merged commit 4fe2a24 into develop Oct 31, 2020
@bbovenzi bbovenzi deleted the bounds-search branch October 31, 2020 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant