mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
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