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

        foreach ($this->computeSizes($map) as $size) {
            $output[] = sprintf(
                '%s.sizes.%s = %s',
                $this->getJsContainerName($map),
                $size->getJavascriptVariable(),
                $this->sizeHelper->render($size)
            );
        }

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

        foreach ($this->computeSizes($map) as $size) {
            $output[] = sprintf(
                '%s.sizes.%s = %s',
                $this->getJsContainerName($map),
                $size->getJavascriptVariable(),
                $this->sizeHelper->render($size)
            );
        }

        return implode('', $output);
    }
public function renderJsContainerSizes ( Map $ map ) { $ output = array ( ) ; foreach ( $ this -> computeSizes ( $ map ) as $ size ) { $ output [ ] = sprintf ( '%s.sizes.%s = %s' , $ this -> getJsContainerName ( $ map ) , $ size -> getJavascriptVariable ( ) , $ this -> sizeHelper -> render ( $ size ) ) ; } return implode ( '' , $ output ) ; }
Renders the javascript container sizes.

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

@return string The JS output.
Renders the javascript container sizes .