Set the Distance Unit

In Agile Store Locator you have the option to choose your map distance unit, which can be either miles or kilometers. Moreover, the “Distance Unit” option is located in “ASL Settings”. Furthermore, the unit selected will apply for distance measuring as well. That is, the distance between two points will also show up in the selected unit. In addition, admin users can also specify multiple units for different store locators on the same WordPress instance by using the below shortcode.

[ASL_STORELOCATOR distance_unit="KM"]
[ASL_STORELOCATOR distance_unit="Miles"]

Options for the units are (“miles” for Miles, “KM” for kilometers)

Select Distance Unit
Select Distance Unit

Displaying Full Distance Value #

Starting from version 4.10.15, a new distance_value_full shortcode attribute is available. By default, distances greater than 1000 units are abbreviated (e.g., 1.5K for kilometers or 1.5K Miles). However, you can display the full distance value instead of the abbreviated format by using the distance_value_full shortcode attribute.

[ASL_STORELOCATOR distance_value_full="1"]