src/Helper/Controls/MapTypeControlStyleHelper.php
public function render($mapTypeControlStyle)
    {
        switch ($mapTypeControlStyle) {
            case MapTypeControlStyle::DEFAULT_:
            case MapTypeControlStyle::DROPDOWN_MENU:
            case MapTypeControlStyle::HORIZONTAL_BAR:
                return sprintf('google.maps.MapTypeControlStyle.%s', strtoupper($mapTypeControlStyle));
            default:
                throw HelperException::invalidMapTypeControlStyle();
        }
    }
public function render($mapTypeControlStyle)
    {
        switch ($mapTypeControlStyle) {
            case MapTypeControlStyle::DEFAULT_:
            case MapTypeControlStyle::DROPDOWN_MENU:
            case MapTypeControlStyle::HORIZONTAL_BAR:
                return sprintf('google.maps.MapTypeControlStyle.%s', strtoupper($mapTypeControlStyle));
            default:
                throw HelperException::invalidMapTypeControlStyle();
        }
    }
Renders a map type control style.

@param string $mapTypeControlStyle The map type control style.

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

@return string The JS output.