src/Helper/Controls/ScaleControlStyleHelper.php
public function render($scaleControlStyle)
    {
        switch ($scaleControlStyle) {
            case ScaleControlStyle::DEFAULT_:
                return sprintf('google.maps.ScaleControlStyle.%s', strtoupper($scaleControlStyle));
            default:
                throw HelperException::invalidScaleControlStyle();
        }
    }
public function render($scaleControlStyle)
    {
        switch ($scaleControlStyle) {
            case ScaleControlStyle::DEFAULT_:
                return sprintf('google.maps.ScaleControlStyle.%s', strtoupper($scaleControlStyle));
            default:
                throw HelperException::invalidScaleControlStyle();
        }
    }
Renders a scale control style.

@param string $scaleControlStyle The scale control style.

@throws \Ivory\GoogleMap\Exception\HelperException If the scale control style is not valid.

@return string The JS output.