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

        foreach ($map->getInfoWindows() as $infoWindow) {
            if ($infoWindow->isOpen()) {
                $output[] = $this->infoWindowHelper->renderOpen($infoWindow, $map);
            }
        }

        foreach ($map->getMarkers() as $marker) {
            if ($marker->hasInfoWindow() && $marker->getInfoWindow()->isOpen()) {
                $output[] = $this->infoWindowHelper->renderOpen($marker->getInfoWindow(), $map, $marker);
            }
        }

        foreach ($this->computeBounds($map) as $bound) {
            if ($bound->hasExtends()) {
                $output[] = $this->boundHelper->renderExtends($bound);
            }
        }

        if ($map->isAutoZoom()) {
            $output[] = $this->renderMapBound($map);
        } else {
            $output[] = $this->renderMapCenter($map);
        }

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

        foreach ($map->getInfoWindows() as $infoWindow) {
            if ($infoWindow->isOpen()) {
                $output[] = $this->infoWindowHelper->renderOpen($infoWindow, $map);
            }
        }

        foreach ($map->getMarkers() as $marker) {
            if ($marker->hasInfoWindow() && $marker->getInfoWindow()->isOpen()) {
                $output[] = $this->infoWindowHelper->renderOpen($marker->getInfoWindow(), $map, $marker);
            }
        }

        foreach ($this->computeBounds($map) as $bound) {
            if ($bound->hasExtends()) {
                $output[] = $this->boundHelper->renderExtends($bound);
            }
        }

        if ($map->isAutoZoom()) {
            $output[] = $this->renderMapBound($map);
        } else {
            $output[] = $this->renderMapCenter($map);
        }

        return implode('', $output);
    }
public function renderJsContainerExtra ( Map $ map ) { $ output = array ( ) ; foreach ( $ map -> getInfoWindows ( ) as $ infoWindow ) { if ( $ infoWindow -> isOpen ( ) ) { $ output [ ] = $ this -> infoWindowHelper -> renderOpen ( $ infoWindow , $ map ) ; } } foreach ( $ map -> getMarkers ( ) as $ marker ) { if ( $ marker -> hasInfoWindow ( ) && $ marker -> getInfoWindow ( ) -> isOpen ( ) ) { $ output [ ] = $ this -> infoWindowHelper -> renderOpen ( $ marker -> getInfoWindow ( ) , $ map , $ marker ) ; } } foreach ( $ this -> computeBounds ( $ map ) as $ bound ) { if ( $ bound -> hasExtends ( ) ) { $ output [ ] = $ this -> boundHelper -> renderExtends ( $ bound ) ; } } if ( $ map -> isAutoZoom ( ) ) { $ output [ ] = $ this -> renderMapBound ( $ map ) ; } else { $ output [ ] = $ this -> renderMapCenter ( $ map ) ; } return implode ( '' , $ output ) ; }
Renders the js container extra.

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

@return string The JS output.
Renders the js container extra .