Description
This filter allows you to modify the default map settings used in wpsl-admin.js.
Parameters
$js_settings - (array) Settings used in wpsl-admin.js.
Usage
This example changes the default map coordinates and zoom level for the store map preview:
If you want to change the default map location, but you don’t know the coordinates, then you can use a site like http://www.latlong.net/ to find them.
Changelog
Since 2.0
Source File
This filter is located in /admin/class-admin.php.
Placement
The code needs to be placed in the functions.php file inside your active theme folder.