Skip to content

Debounce option #185

Description

@matthewlein

Hello,

I am using a custom endpoint, and I could use an option to set the debounce ms as an option, to try to reduce the load on that endpoint.

I'm happy to make the PR, it seems like it will be just 2 lines and documentation.

options: {
placeholder: 'Search',
zoom: 16,
flyTo: true,
trackProximity: false,
minLength: 2,
reverseGeocode: false,
limit: 5,
origin: 'https://api.mapbox.com'
},

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions