src/Helper/Controls/PanControlHelper.php
public function render(PanControl $panControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($panControl->getControlPosition()), false)
            ->build();
    }
public function render(PanControl $panControl)
    {
        return $this->jsonBuilder
            ->reset()
            ->setValue('[position]', $this->controlPositionHelper->render($panControl->getControlPosition()), false)
            ->build();
    }
Renders a pan control.

@param \Ivory\GoogleMap\Controls\PanControl $panControl The pan control.

@return string The JS output.