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

[WIP] Add geocoding using NYC GeoSearch API with autosuggest #95

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

clhenrick
Copy link
Collaborator

@clhenrick clhenrick commented May 18, 2018

Work In Progress for #92

Still needs:

  • for selected search result to show up on map & map to zoom to result

  • clean up unused code relating to redux state.geocoding (or change state.search to state.geocoding if that's more clear, state.geocoding was left over when I was trying to implement intersect by address for Improve Filter by Intersection UX #76)

  • to remove old css and components relating to SearchForm

  • some more CSS adjustments

  • enable filter by radius of geocode result (?)

@clhenrick clhenrick changed the title Add geocoding using NYC GeoSearch API and React Autosuggest [WIP] Add geocoding using NYC GeoSearch API and React Autosuggest May 18, 2018
@clhenrick clhenrick changed the title [WIP] Add geocoding using NYC GeoSearch API and React Autosuggest [WIP] Add geocoding using NYC GeoSearch API with Autosuggest May 21, 2018
@clhenrick clhenrick changed the title [WIP] Add geocoding using NYC GeoSearch API with Autosuggest [WIP] Add geocoding using NYC GeoSearch API with autosuggest May 21, 2018
Copy link
Collaborator Author

@clhenrick clhenrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to self

return (
<div className="Search ui">
<Autosuggest
onSuggestionsFetchRequested={throttle(onSuggestionsFetchRequested, THROTTLE_WAIT_MS)}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably use debounce instead of throttle here

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.

None yet

2 participants