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

        return is_array($paths) && !empty($paths)
            ? LatLngBounds::getBoundsOfCoordinates($paths)->getCenterCoordinates()
            : null;
    }
public function getCenterOfPaths()
    {
        $paths = ArrayHelper::getValue($this->options, 'paths');

        return is_array($paths) && !empty($paths)
            ? LatLngBounds::getBoundsOfCoordinates($paths)->getCenterCoordinates()
            : null;
    }
public function getCenterOfPaths ( ) { $ paths = ArrayHelper :: getValue ( $ this -> options , 'paths' ) ; return is_array ( $ paths ) && ! empty ( $ paths ) ? LatLngBounds :: getBoundsOfCoordinates ( $ paths ) -> getCenterCoordinates ( ) : null ; }
Returns the center coordinates of paths
@return \dosamigos\google\maps\LatLng|null
Returns the center coordinates of paths