src/Base/Bound.php
public function getCenter()
    {
        $centerLatitude = ($this->getSouthWest()->getLatitude() + $this->getNorthEast()->getLatitude()) / 2;
        $centerLongitude = ($this->getSouthWest()->getLongitude() + $this->getNorthEast()->getLongitude()) / 2;

        return new Coordinate($centerLatitude, $centerLongitude);
    }
public function getCenter()
    {
        $centerLatitude = ($this->getSouthWest()->getLatitude() + $this->getNorthEast()->getLatitude()) / 2;
        $centerLongitude = ($this->getSouthWest()->getLongitude() + $this->getNorthEast()->getLongitude()) / 2;

        return new Coordinate($centerLatitude, $centerLongitude);
    }
Gets the center of the bound.

@return \Ivory\GoogleMap\Base\Coordinate The bound center.