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

Improve default options set to improve search relevance #195

Closed
scottsfarley93 opened this issue Mar 13, 2019 · 3 comments
Closed

Improve default options set to improve search relevance #195

scottsfarley93 opened this issue Mar 13, 2019 · 3 comments
Milestone

Comments

@scottsfarley93
Copy link

Looking at the options that are set on the geocoding call (https://github.com/mapbox/mapbox-gl-geocoder/blob/master/lib/index.js#L58), there are several defaults that could be configured to provide a better out-of-the box search experience.

Specifically, I think good improvements could be found with:

  • setting trackProximity to default true -- searches with a user-relevant proximity are likely to be more relevant
  • setting a default language based on the user's browser settings

I suspect this may change user's expectations and/or be a breaking change -- so we could target this for the next major release.

@andrewharvey
Copy link
Collaborator

I think these are positive changes.

I suspect this may change user's expectations and/or be a breaking change -- so we could target this for the next major release.

I agree.

@katydecorah
Copy link
Contributor

👍 I also think that these are positive changes

@andrewharvey
Copy link
Collaborator

Done in https://github.com/mapbox/mapbox-gl-geocoder/tree/version4 by #200 #202, slated for v4 release.

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

No branches or pull requests

3 participants