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' |
|
}, |
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.
mapbox-gl-geocoder/lib/index.js
Lines 58 to 67 in b69197a
mapbox-gl-geocoder/lib/index.js
Line 164 in b69197a