The map settings object

The map settings object is a liquid representation of the Map settings section of the app.


map_settings.geolocate_on_load

Returns true if 'Automatically estimate the visitor's location and show nearby stores' is turned on

{{map_settings.geolocate_on_load}}

map_settings.filter_behaviour

Returns the filter behaviour, can be 'any' or 'all'

{{map_settings.filter_behaviour}}

map_settings.keep_search_in_view

Returns true if 'Keep search marker in view' is on

{{map_settings.keep_search_in_view}}

map_settings.distance_units

Returns the distance units, can be 'km' or 'mi'

{{map_settings.distance_units}}

map_settings.max_results

Returns the maximum number of search results returned

{{map_settings.max_results}}

map_settings.max_distance

Returns the maximum distance of locations after a search, set to 0 if max distance is unlimited.

{{map_settings.max_distance}}

map_settings.show_popups

Returns true if show popups is turned on

{{map_settings.show_popups}}
Was this page helpful? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Contact