From d36d613e37f2516fba407f43830be4394f0c3725 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Wed, 11 Oct 2017 11:35:58 +0200 Subject: [PATCH] Also add autoZIndex option. --- src/Mapper/Control/LayersControlMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mapper/Control/LayersControlMapper.php b/src/Mapper/Control/LayersControlMapper.php index 5ad08ce..78aade6 100644 --- a/src/Mapper/Control/LayersControlMapper.php +++ b/src/Mapper/Control/LayersControlMapper.php @@ -71,6 +71,6 @@ class LayersControlMapper extends AbstractControlMapper { parent::initialize(); - $this->optionsBuilder->addOption('collapsed'); + $this->optionsBuilder->addOptions(['collapsed', 'autoZIndex']); } }