public function getCenterOfBounds()
    {
        $path = ArrayHelper::getValue($this->options, 'path');

        return is_array($path) && !empty($path)
            ? LatLngBounds::getBoundsOfCoordinates($path)->getCenterCoordinates()
            : null;
    }