If you want to change the localization (such as biasing geocoding results towards your region), you can override this default behavior by adding a region parameter to the <script> tag when loading the Store Locator map.
Example of Localization:
Without the script to change the region. Searching "Toledo" automatically populates in the US.
With the script and using the "GB" region. Searching "Toledo" now loads within Spain.
To localize a region in Store Locator, please follow these steps:
- From Shopify's admin, select Apps.
- Select Store Locator.
- Select Need Help?.
- Select Google Map API Key.
- Copy and paste ®ion=XX at the end of your API key.
- Replace the "XX" after region with your region.
- Australia = AU
- Canada = CA
- France - FR
- United Kingdom = GB
- United States = US
- Select Save.