src/Helper/MapHelper.php
public function renderStylesheets(Map $map)
    {
        $html = array();

        $html[] = '<style type="text/css" scoped>'.PHP_EOL;
        $html[] = '#'.$map->getHtmlContainerId().'{'.PHP_EOL;

        foreach ($map->getStylesheetOptions() as $option => $value) {
            $html[] = $option.':'.$value.';'.PHP_EOL;
        }

        $html[] = '}'.PHP_EOL;
        $html[] = '</style>'.PHP_EOL;

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

        $html[] = '<style type="text/css" scoped>'.PHP_EOL;
        $html[] = '#'.$map->getHtmlContainerId().'{'.PHP_EOL;

        foreach ($map->getStylesheetOptions() as $option => $value) {
            $html[] = $option.':'.$value.';'.PHP_EOL;
        }

        $html[] = '}'.PHP_EOL;
        $html[] = '</style>'.PHP_EOL;

        return implode('', $html);
    }
Renders the html map stylesheets.

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

@return string The HTML output.