public function equals(LatLngBounds $other)
    {
        if (!$this->getNorthEast()->equals($other->getNorthEast())) {
            return false;
        }

        return $this->getSouthWest()->equals($other->getSouthWest());
    }
public function equals(LatLngBounds $other)
    {
        if (!$this->getNorthEast()->equals($other->getNorthEast())) {
            return false;
        }

        return $this->getSouthWest()->equals($other->getSouthWest());
    }
public function equals ( LatLngBounds $ other ) { if ( ! $ this -> getNorthEast ( ) -> equals ( $ other -> getNorthEast ( ) ) ) { return false ; } return $ this -> getSouthWest ( ) -> equals ( $ other -> getSouthWest ( ) ) ; }
Compare two bounds.

@param LatLngBounds $other The other bounds.

@return bool
Compare two bounds .