mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
Update documentation
This commit is contained in:
parent
e8ec5dbf94
commit
9d7d302a7a
1 changed files with 9 additions and 0 deletions
|
|
@ -57,6 +57,15 @@ SearchMap component can't adjust zoom level right for that particular place. The
|
|||
default bounding boxes defined to different place types in
|
||||
[Mapbox specific geocoder](../src/components/LocationAutocompleteInput/GeocoderMapbox.js).
|
||||
|
||||
### Optional: Restrict location autocomplete to specific country or countries
|
||||
|
||||
If your marketplace works only in a specific country or countries it might be a good idea to limit
|
||||
the location autocomplete to those countries. You can specify whether to use the limitation from
|
||||
[config.js](../src/config.js). Search for variable `countryLimit` and uncomment the line to make it
|
||||
active. Provide the country or countries in an array using
|
||||
[ISO 3166 alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format (eg. GB, US, FI). If
|
||||
there are multiple values, separate them with commas.
|
||||
|
||||
## Changing the map providers
|
||||
|
||||
### How to change from Mapbox to Google Maps
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue