MAPG-128 set all default values when creating a new map
This commit is contained in:
parent
81a3079a1a
commit
98fc735622
@ -155,7 +155,11 @@ class MapAdminController implements ISecured
|
||||
$modify = new Modify(\Container::$dbConnection, 'maps');
|
||||
$modify->fill([
|
||||
'name' => self::$unnamedMapName,
|
||||
'description' => ''
|
||||
'description' => '',
|
||||
'bound_south_lat' => 0.0,
|
||||
'bound_west_lng' => 0.0,
|
||||
'bound_north_lat' => 0.0,
|
||||
'bound_east_lng' => 0.0
|
||||
]);
|
||||
$modify->save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user