Skip to content

Improve default options set to improve search relevance #195

Closed

Description

@scottsfarley93

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.

Activity

  1. added this to the v4.0.0 milestone on Mar 13, 2019
  2. andrewharvey commented on Mar 14, 2019

    @andrewharvey
    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.

  3. katydecorah commented on Mar 18, 2019

    @katydecorah
    Contributor

    👍 I also think that these are positive changes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions