public function renderJsContainerEncodedPolylines(Map $map)
    {
        $output = array();

        foreach ($map->getEncodedPolylines() as $encodedPolyline) {
            $output[] = sprintf(
                '%s.encoded_polylines.%s = %s',
                $this->getJsContainerName($map),
                $encodedPolyline->getJavascriptVariable(),
                $this->encodedPolylineHelper->render($encodedPolyline, $map)
            );
        }

        return implode('', $output);
    }
public function renderJsContainerEncodedPolylines(Map $map)
    {
        $output = array();

        foreach ($map->getEncodedPolylines() as $encodedPolyline) {
            $output[] = sprintf(
                '%s.encoded_polylines.%s = %s',
                $this->getJsContainerName($map),
                $encodedPolyline->getJavascriptVariable(),
                $this->encodedPolylineHelper->render($encodedPolyline, $map)
            );
        }

        return implode('', $output);
    }
public function renderJsContainerEncodedPolylines ( Map $ map ) { $ output = array ( ) ; foreach ( $ map -> getEncodedPolylines ( ) as $ encodedPolyline ) { $ output [ ] = sprintf ( '%s.encoded_polylines.%s = %s' , $ this -> getJsContainerName ( $ map ) , $ encodedPolyline -> getJavascriptVariable ( ) , $ this -> encodedPolylineHelper -> render ( $ encodedPolyline , $ map ) ) ; } return implode ( '' , $ output ) ; }
Renders the javascript container encoded polylines.

@param \Ivory\GoogleMap\Map $map The map.

@return string The JS output.
Renders the javascript container encoded polylines .