public function setMaxBounds($bounds)
    {
        if (is_array($bounds)) {
            $bounds = LatLngBounds::fromArray($bounds);
        }

        Assertion::isInstanceOf($bounds, 'Netzmacht/LeafletPHP/Type/LatLngBounds');

        return $this->setOption('maxBounds', $bounds);
    }