Add reference layer.

This commit is contained in:
David Molineus
2015-01-09 15:24:34 +01:00
parent efb36256c7
commit 8e35dc1fef
15 changed files with 149 additions and 24 deletions

View File

@@ -52,7 +52,7 @@ class BuildDefinitionEvent extends Event
* @param \Model $model The definition model.
* @param LatLngBounds $bounds Optional bounds where elements should be in.
*/
public function __construct(Definition $definition, \Model $model, LatLngBounds $bounds = null)
public function __construct(Definition $definition = null, \Model $model, LatLngBounds $bounds = null)
{
$this->definition = $definition;
$this->model = $model;