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

Feature - Event location search #491

Closed
chrismclarke opened this issue May 21, 2019 · 2 comments
Closed

Feature - Event location search #491

chrismclarke opened this issue May 21, 2019 · 2 comments

Comments

@chrismclarke
Copy link
Member

Component infos

Description

Location lookup and autocomplete.

Page related

Will be used in :

  • Events module (and likely later others)

Example(s)

https://community.algolia.com/places/

Build suggestion

For the sake of early convenience and as we already have algolia will use algolia places api. More analysis should be carried out in the future on the pricing model (100,000 per month free, then $0.40c per 1,000), alternatives could include own implementation of elasticsearch on top of osm data, google apis or similar

@chrismclarke
Copy link
Member Author

Note, had first gone for existing implementation of algolia-places-react, however this feels like a very thin wrapper over the default api and makes it more restrictive to use custom styling so will implement from scratch (that way can also add debounce to the search autocomplete to save on search quota)

@chrismclarke
Copy link
Member Author

implementation in, have included debounce method to help limit the number of request

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

No branches or pull requests

1 participant