added settings for map on post
This commit is contained in:
@@ -37,6 +37,15 @@ if (isset($mp_settings_icon_size_factor))
|
||||
$mp_icon_size_factor = $mp_settings_icon_size_factor;
|
||||
|
||||
|
||||
/* DEFAULT ZOOM
|
||||
*/
|
||||
$mp_zoom_set = [2, 5];
|
||||
if (isset($mp_settings_zoom_set))
|
||||
$mp_zoom_set = $mp_settings_zoom_set;
|
||||
// also create the variable, and set to map page by default
|
||||
$mp_zoom = $mp_zoom_set[0];
|
||||
|
||||
|
||||
/* DEFAULT COORDINATES
|
||||
*/
|
||||
$mp_coordinates_default = (object)["lat" => 46.227638, "lng" => 2.213749]; // france
|
||||
|
||||
Reference in New Issue
Block a user