mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 19:43:50 +01:00
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