Open rawallerstein opened 5 years ago
If author will add countries
props (Mapbox-geocoder options) in GeocoderControl.js all will be works correctly. Because with this props all works.
Not working with this as well:
<MglGeocoderControl :accessToken="data.accessToken" countries='au' />
As far as I can tell, passing a string of country codes to the country prop of the geocoder control component.
I've tried passing the string through countries and country, tried using "us" and "US" but the results are still not limited to the US.
<MglGeocoderControl :accessToken="token" :mapboxgl="mapboxgl" country="us" />
Is how I've been doing it. Any advice?