/**
  * Renders the map javascript KML layers
  *
  * @param Ivory\GoogleMapBundle\Model\Map $map
  * @return string HTML output
  */
 public function renderKMLLayers(Map $map)
 {
     $html = array();
     foreach ($map->getKMLLayers() as $kmlLayer) {
         $html[] = $this->kmlLayerHelper->render($kmlLayer, $map);
     }
     return implode('', $html);
 }