This can be useful if your planning to use the store locator on different pages and like to use different settings for each one of them.
$settings - (array) The default settings.
This shows how to set different zoom levels for the ‘car-dealers’ and ‘mechanics’ pages.
The code example below changes the settings that are used to render the map for the ‘contact-us’ page. If not, then the defaults from the settings page are used.
You can find a full list of the available map options here.
This filter is located in /frontend/class-frontend.php
The code needs to be placed in the functions.php file inside your active theme folder.