/**
  * Renders the map javascript bound
  *
  * @param Ivory\GoogleMapBundle\Model\Map $map
  * @return string HTML output
  */
 public function renderBound(Map $map)
 {
     $html = array();
     $html[] = $this->boundHelper->render($map->getBound());
     $html[] = sprintf('%s.fitBounds(%s);' . PHP_EOL, $map->getJavascriptVariable(), $map->getBound()->getJavascriptVariable());
     return implode('', $html);
 }