Rework element id generation.

This commit is contained in:
David Molineus committed 2015-01-09 13:41:09 +01:00
1 parent 37851110b0
commit efb36256c7
12 files changed
+128 -88

No files matched your search

@@ -32,9 +32,16 @@ class LayersControlMapper extends AbstractControlMapper
*/
protected static $type = 'layers';
protected function buildConstructArguments(\Model $model, DefinitionMapper $mapper, LatLngBounds $bounds = null)
{
$arguments = parent::buildConstructArguments($model, $mapper, $bounds);
/**
* {@inheritdoc}
*/
protected function buildConstructArguments(
\Model $model,
DefinitionMapper $mapper,
LatLngBounds $bounds = null,
$elementId = null
) {
$arguments = parent::buildConstructArguments($model, $mapper, $bounds, $elementId);
$arguments[1] = array();
$arguments[2] = array();