Refactor to fit bounds.

This commit is contained in:
David Molineus
2015-01-27 12:36:52 +01:00
parent 9e0fe6a0b6
commit 9de46923fb
2 changed files with 11 additions and 0 deletions

View File

@@ -69,4 +69,14 @@ class BboxFilter implements Filter
{
return array('bounds' => $this->bounds);
}
/**
* Get the bounds.
*
* @return LatLngBounds
*/
public function getBounds()
{
return $this->bounds;
}
}

View File

@@ -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
*/