public function render(ZoomControl $zoomControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($zoomControl->getControlPosition()), false)
            ->setValue('[style]', $this->zoomControlStyleHelper->render($zoomControl->getZoomControlStyle()), false)
            ->build();
    }
public function render(ZoomControl $zoomControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($zoomControl->getControlPosition()), false)
            ->setValue('[style]', $this->zoomControlStyleHelper->render($zoomControl->getZoomControlStyle()), false)
            ->build();
    }
public function render ( ZoomControl $ zoomControl ) { return $ this -> jsonBuilder -> reset ( ) -> setValue ( '[position]' , $ this -> controlPositionHelper -> render ( $ zoomControl -> getControlPosition ( ) ) , false ) -> setValue ( '[style]' , $ this -> zoomControlStyleHelper -> render ( $ zoomControl -> getZoomControlStyle ( ) ) , false ) -> build ( ) ; }
Renders a zoom control.

@param \Ivory\GoogleMap\Controls\ZoomControl $zoomControl The zoom control.

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