src/Helper/Extension/CoreExtensionHelper.php
public function renderLibraries(Map $map)
    {
        if ($this->apiHelper->isLoaded()) {
            return;
        }

        $callback = null;

        if ($map->isAsync()) {
            $callback = 'load_ivory_google_map';
        }

        $output = array();

        $output[] = $this->apiHelper->render($map->getLanguage(), $this->getLibraries($map), $callback, $map->getApiKey());
        $output[] = $this->markerClusterHelper->renderLibraries($map->getMarkerCluster(), $map);

        return implode('', $output);
    }
public function renderLibraries(Map $map)
    {
        if ($this->apiHelper->isLoaded()) {
            return;
        }

        $callback = null;

        if ($map->isAsync()) {
            $callback = 'load_ivory_google_map';
        }

        $output = array();

        $output[] = $this->apiHelper->render($map->getLanguage(), $this->getLibraries($map), $callback, $map->getApiKey());
        $output[] = $this->markerClusterHelper->renderLibraries($map->getMarkerCluster(), $map);

        return implode('', $output);
    }
{@inheritdoc}