public function render(RotateControl $rotateControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($rotateControl->getControlPosition()), false)
            ->build();
    }
public function render(RotateControl $rotateControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($rotateControl->getControlPosition()), false)
            ->build();
    }
public function render ( RotateControl $ rotateControl ) { return $ this -> jsonBuilder -> reset ( ) -> setValue ( '[position]' , $ this -> controlPositionHelper -> render ( $ rotateControl -> getControlPosition ( ) ) , false ) -> build ( ) ; }
Renders a rotate control.

@param \Ivory\GoogleMap\Controls\RotateControl $rotateControl The rotate control.

@return string The JS output.
Renders a rotate control .