<?php
/**
 * Job Listing Map
 *
 * @package Jobify
 * @since 3.0.0
 * @version 3.8.0
 */
?>
<?php if( $type === 'resume' ): ?>
	<div class="<?php echo $type ?>-map-wrapper">
		<?php do_action( 'jobify_map_before' ); ?>

		<div class="<?php echo $type; ?>-map">
			<div id="<?php echo $type; ?>-map-canvas"></div>
		</div>

		<?php do_action( 'jobify_map_after' ); ?>
	</div>
<?php else: 
	if ( GOOGLE_MAPS_REMOVER === false ) {
	?>
		<div id="gjm-map-wrapper-job_map_listing" class="gjm-map-wrapper map-wrapper results-map" data-map_id="job_map_listing" style="width:100%;height:400px">  
			<div id="gjm-map-job_map_listing" data-map-id="job_map_listing" class="gjm-map" style="width:100%;height:100%;position:relative;overflow:hidden;" data-zoom_level="auto" data-max_zoom_level="" data-map_type="ROADMAP" data-scrollwheel="" data-group_markers="markers_clusterer" data-clusters_path="https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/images/m" data-show_without_locations=""></div> 
		</div>
	<?php 
	}
endif; ?>