/** * Renders the map javascript circles * * @param Ivory\GoogleMapBundle\Model\Map $map * @return string HTML output */ public function renderCircles(Map $map) { $html = array(); foreach ($map->getCircles() as $circle) { $html[] = $this->circleHelper->render($circle, $map); } return implode('', $html); }