From 3c660b5bbd3dcb88ee0fd33f56eb9ccbf55b4234 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Wed, 11 Oct 2017 11:32:25 +0200 Subject: [PATCH] Fix: Support collapsed setting. --- src/Mapper/Control/LayersControlMapper.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Mapper/Control/LayersControlMapper.php b/src/Mapper/Control/LayersControlMapper.php index 0b2269c..5ad08ce 100644 --- a/src/Mapper/Control/LayersControlMapper.php +++ b/src/Mapper/Control/LayersControlMapper.php @@ -63,4 +63,14 @@ class LayersControlMapper extends AbstractControlMapper return $arguments; } + + /** + * {@inheritDoc} + */ + protected function initialize() + { + parent::initialize(); + + $this->optionsBuilder->addOption('collapsed'); + } }