Add country restriction to config.js file

This commit is contained in:
Jenni Nurmi 2019-01-17 16:30:43 +02:00
parent dfbaa5449e
commit b038aa2f5b

View file

@ -129,6 +129,11 @@ const maps = {
// `default-location-searches.js` file.
defaults:
process.env.REACT_APP_DEFAULT_SEARCHES_ENABLED === 'true' ? defaultLocationSearches : [],
// Limit location autocomplete to a one or more countries
// using ISO 3166 alpha 2 country codes separated by commas.
// If you want to limit the autocomplete, uncomment this value:
// countryLimit: ['AU'],
},
// When fuzzy locations are enabled, coordinates on maps are