
<?php $_helper = $this->helper('FiloBlu\Storelocator\Helper\Data'); ?>

<?php if (
            $_helper->getConfig('filoblu_storelocator_section/geolocation/gmaps_geolocation_enabled') && 
            $_helper->getConfig('filoblu_storelocator_section/geolocation/gmaps_geolocation_getdirections_enabled')
        ): ?>

    <div class="filoblu-storelocator-directions">
        <a href="#" id="gmapGetDirectionsRemove"><?php echo __('Remove Directions'); ?></a>
        <div id="gmapGetDirectionsPanel"></div>
    </div>

<?php endif; ?>