forked from Snck3rs/contao-leaflet-maps
Fix: Support collapsed setting.
This commit is contained in:
@@ -63,4 +63,14 @@ class LayersControlMapper extends AbstractControlMapper
|
||||
|
||||
return $arguments;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
protected function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
|
||||
$this->optionsBuilder->addOption('collapsed');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user