Knowledge Base Search

How can we reset Google Map to default Position?

Agile Store Locator has provided a control within Google Maps to reset your Maps (Zoom + Pan) to its original state which you have set from the ASL Settings. The option is disabled by default but it can be enabled through the shortcode attribute which you have added on your Store Locator page. The attribute to reset Google Map is reset_button. The control appears when the Map position or zoom is changed, so once the user clicks the control, it will reset the Map to its original state and will disappear until the user changes it again. The complete shortcode for the Reset Google Maps is as follows.

Reset Google Maps

Image of Reset Google Maps Control

[ASL_STORELOCATOR reset_button="1"]