public function setMapTypeControlStyle($mapTypeControlStyle)
    {
        if (!in_array($mapTypeControlStyle, MapTypeControlStyle::getMapTypeControlStyles())) {
            throw ControlException::invalidMapTypeControlStyle();
        }

        $this->mapTypeControlStyle = $mapTypeControlStyle;
    }
public function setMapTypeControlStyle($mapTypeControlStyle)
    {
        if (!in_array($mapTypeControlStyle, MapTypeControlStyle::getMapTypeControlStyles())) {
            throw ControlException::invalidMapTypeControlStyle();
        }

        $this->mapTypeControlStyle = $mapTypeControlStyle;
    }
public function setMapTypeControlStyle ( $ mapTypeControlStyle ) { if ( ! in_array ( $ mapTypeControlStyle , MapTypeControlStyle :: getMapTypeControlStyles ( ) ) ) { throw ControlException :: invalidMapTypeControlStyle ( ) ; } $ this -> mapTypeControlStyle = $ mapTypeControlStyle ; }
Sets the map type control style.

@param type $mapTypeControlStyle The map type control style.

@throws \Ivory\GoogleMap\Exception\ControlException If the map type control style is not valid.
Sets the map type control style .