public function setHeightUnit($heightUnit)
    {
        if (!is_string($heightUnit) && ($heightUnit !== null)) {
            throw BaseException::invalidSizeHeightUnit();
        }

        $this->heightUnit = $heightUnit;
    }
public function setHeightUnit($heightUnit)
    {
        if (!is_string($heightUnit) && ($heightUnit !== null)) {
            throw BaseException::invalidSizeHeightUnit();
        }

        $this->heightUnit = $heightUnit;
    }
public function setHeightUnit ( $ heightUnit ) { if ( ! is_string ( $ heightUnit ) && ( $ heightUnit !== null ) ) { throw BaseException :: invalidSizeHeightUnit ( ) ; } $ this -> heightUnit = $ heightUnit ; }
Sets the height unit size.

@param string $heightUnit The height unit size.

@throws \Ivory\GoogleMap\Exception\BaseException If the height unit is not valid.
Sets the height unit size .