How to configure the map so that the nearest location is automatically displayed?

How to configure the map so that the nearest location is automatically displayed?

The Store Locator extension has the feature of zooming the map to let the customer easily find the nearest location. 

If you would like the nearest location to be shown for a customer automatically, you need to enable the option in the global extension settings: Amasty → Store Locator → Configuration → Map and Customer's Geolocation → Show Nearest Location by Default.



Additionally, the Map Zoom should be set to define the zoom level. In the tooltip, you may view all the details regarding the zoom most popular values.



On the front end, the nearest location will be pre-selected once the customer opens the Store Locator page.