/** * Renders the map container * * @param Ivory\GoogleMapBundle\Model\Map $map * @return string HTML output */ public function renderContainer(Map $map) { return sprintf('<div id="%s" style="width:%s;height:%s;"></div>' . PHP_EOL, $map->getHtmlContainerId(), $map->getStylesheetOption('width'), $map->getStylesheetOption('height')); }