By adding the scroll_to_map class on any of the Results Layout HTML elements, WordPress Premier or MySLP Enterprise subscribers can enable the scroll to map functionality on any Store Locator Plus plugin style. When the class has been added to an element in the results layout that element becomes clickable. Clicking that element will scroll the map back into view and open the map marker and info bubble for the location that was clicked.
We have used this feature in the new Bennett plugin style.
To add the feature to other styles you will need to have the Premier plugin installed for WordPress. Under Settings/Map in the functionality section see the check box ,
For MySLP Enterprise users the feature is already enabled.
Go to Store Locator Plus (MySLP) or Store Locator Plus (WPSLP) | Settings | Results | Results Layout.
Edit the layout and add scroll_to_map to an existing class on an html element you want to trigger the scrolling feature or add class=”scroll_to_map” if the HTML element does not have a class assigned.
Learn more about other Premier / Enterprise features like the new Category Button Bar.