{if isset($gmap)}
    <div id="js-gm-canvas" style="height: 300px"></div>
    <div style="display: none" id="js-gm-data" data-skin="{$gmap.style}"{if $gmap.location} data-location="{$gmap.location|escape:'html'}"{/if}>{$gmap.items}</div>

    <script src="https://maps.googleapis.com/maps/api/js?key={$core.config.maps_api_key}"></script>
    {ia_print_js files='_IA_URL_modules/gmap/js/loader'}
{/if}