diff --git a/src/Netzmacht/Contao/Leaflet/Filter/BboxFilter.php b/src/Netzmacht/Contao/Leaflet/Filter/BboxFilter.php index 2f76a5d..9effc35 100644 --- a/src/Netzmacht/Contao/Leaflet/Filter/BboxFilter.php +++ b/src/Netzmacht/Contao/Leaflet/Filter/BboxFilter.php @@ -69,4 +69,14 @@ class BboxFilter implements Filter { return array('bounds' => $this->bounds); } + + /** + * Get the bounds. + * + * @return LatLngBounds + */ + public function getBounds() + { + return $this->bounds; + } } diff --git a/src/Netzmacht/Contao/Leaflet/Model/LayerModel.php b/src/Netzmacht/Contao/Leaflet/Model/LayerModel.php index 4e658e4..dff1ab7 100644 --- a/src/Netzmacht/Contao/Leaflet/Model/LayerModel.php +++ b/src/Netzmacht/Contao/Leaflet/Model/LayerModel.php @@ -20,6 +20,7 @@ use Model\Collection; * @property mixed|null alias * @property mixed|null pointToLayer * @property mixed|null onEachFeature + * @property mixed|null boundsMode * * @package Netzmacht\Contao\Leaflet\Model */