public function setScaleControlStyle($scaleControlStyle)
    {
        if (!in_array($scaleControlStyle, ScaleControlStyle::getScaleControlStyles())) {
            throw ControlException::invalidScaleControlStyle();
        }

        $this->scaleControlStyle = $scaleControlStyle;
    }
public function setScaleControlStyle($scaleControlStyle)
    {
        if (!in_array($scaleControlStyle, ScaleControlStyle::getScaleControlStyles())) {
            throw ControlException::invalidScaleControlStyle();
        }

        $this->scaleControlStyle = $scaleControlStyle;
    }
public function setScaleControlStyle ( $ scaleControlStyle ) { if ( ! in_array ( $ scaleControlStyle , ScaleControlStyle :: getScaleControlStyles ( ) ) ) { throw ControlException :: invalidScaleControlStyle ( ) ; } $ this -> scaleControlStyle = $ scaleControlStyle ; }
Sets the scale control style.

@param type $scaleControlStyle The scale control style.

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