forked from Snck3rs/contao-leaflet-maps
Refactor to fit bounds.
This commit is contained in:
@@ -69,4 +69,14 @@ class BboxFilter implements Filter
|
|||||||
{
|
{
|
||||||
return array('bounds' => $this->bounds);
|
return array('bounds' => $this->bounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the bounds.
|
||||||
|
*
|
||||||
|
* @return LatLngBounds
|
||||||
|
*/
|
||||||
|
public function getBounds()
|
||||||
|
{
|
||||||
|
return $this->bounds;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ use Model\Collection;
|
|||||||
* @property mixed|null alias
|
* @property mixed|null alias
|
||||||
* @property mixed|null pointToLayer
|
* @property mixed|null pointToLayer
|
||||||
* @property mixed|null onEachFeature
|
* @property mixed|null onEachFeature
|
||||||
|
* @property mixed|null boundsMode
|
||||||
*
|
*
|
||||||
* @package Netzmacht\Contao\Leaflet\Model
|
* @package Netzmacht\Contao\Leaflet\Model
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user