diff --git a/src/Mapper/Layer/TileLayerMapper.php b/src/Mapper/Layer/TileLayerMapper.php index c695c9e..1aea74a 100644 --- a/src/Mapper/Layer/TileLayerMapper.php +++ b/src/Mapper/Layer/TileLayerMapper.php @@ -93,7 +93,7 @@ class TileLayerMapper extends AbstractLayerMapper /** @var TileLayer $definition */ $bounds = StringUtil::deserialize($model->bounds); - if ($request[0] && $request[1]) { + if ($bounds[0] && $bounds[1]) { $bounds = array_map( function ($value) { return explode(',', $value, 3);