public function render(Coordinate $coordinate)
    {
        return sprintf(
            '%s = new google.maps.LatLng(%s, %s, %s);'.PHP_EOL,
            $coordinate->getJavascriptVariable(),
            $coordinate->getLatitude(),
            $coordinate->getLongitude(),
            json_encode($coordinate->isNoWrap())
        );
    }
public function render(Coordinate $coordinate)
    {
        return sprintf(
            '%s = new google.maps.LatLng(%s, %s, %s);'.PHP_EOL,
            $coordinate->getJavascriptVariable(),
            $coordinate->getLatitude(),
            $coordinate->getLongitude(),
            json_encode($coordinate->isNoWrap())
        );
    }
public function render ( Coordinate $ coordinate ) { return sprintf ( '%s = new google.maps.LatLng(%s, %s, %s);' . PHP_EOL , $ coordinate -> getJavascriptVariable ( ) , $ coordinate -> getLatitude ( ) , $ coordinate -> getLongitude ( ) , json_encode ( $ coordinate -> isNoWrap ( ) ) ) ; }
Renders a coordinate.

@param \Ivory\GoogleMap\Base\Coordinate $coordinate The coordinate.

@return string The JS output.
Renders a coordinate .