model->params; $shortcode_id = $params["id"]; $row = $this->model->get_map(); if($row){ $overlays = $this->model->get_overlays($row->id); $theme_id = GMWDHelper::get("f_p") == 1 ? GMWDHelper::get("theme_id") : $row->theme_id; $theme = $this->model->get_theme($theme_id); $map_alignment = $row->map_alignment == "right" ? "wd-right" : "" ; $map_center = $row->map_alignment == "center" ? "margin-right:auto; margin-left:auto;" : ""; ?>
direction_position == 0 || $row->direction_position == 1) && $row->enable_directions == 1){ $this->display_directions($row, $theme, $shortcode_id); } //store locator if(($row->store_locator_position == 0 || $row->store_locator_position == 1) && $row->enable_store_locator == 1){ $this->display_store_locator($row, $theme, $shortcode_id); } //marker listing if(count($overlays->markers) > 0 && $row->marker_list_position == 1){ if($row->marker_listing_type == 1){ $this->display_markers_list_basic($row, $overlays->markers, $theme, $shortcode_id); } elseif($row->marker_listing_type == 2){ $this->display_markers_list_advanced($row, $overlays->markers, $theme, $shortcode_id); } elseif($row->marker_listing_type == 3 ){ $this->display_markers_list_carousel($row, $overlays->all_markers, $theme, $shortcode_id); } } // category filter if($row->enable_category_filter == 1){ $this->display_category_filter($shortcode_id); } } ?>
direction_position == 2 || $row->direction_position == 3) && $row->enable_directions == 1){ $this->display_directions($row, $theme, $shortcode_id); } //store locator if(($row->store_locator_position == 2 || $row->store_locator_position == 3) && $row->enable_store_locator == 1){ $this->display_store_locator($row, $theme, $shortcode_id); } //marker listing if(count($overlays->markers) > 0 && $row->marker_list_position == 0){ if($row->marker_listing_type == 1){ $this->display_markers_list_basic($row, $overlays->markers, $theme, $shortcode_id); } elseif($row->marker_listing_type == 2){ $this->display_markers_list_advanced($row, $overlays->markers, $theme, $shortcode_id); } elseif($row->marker_listing_type == 3 ){ $this->display_markers_list_carousel($row, $overlays->all_markers, $theme, $shortcode_id); } } } ?>
model->get_marker_categories(); ?>
 
model->get_markers_page_nav(); ?>

listing_header_title ? $row->listing_header_title : __("Markers","gmwd");?>

custom_marker_url){ $marker_icon = $marker->custom_marker_url; } ?>

title;?>

address;?>

description){ echo "

".htmlspecialchars_decode(implode('
', $marker->description))."

"; } ?>

" >

enable_directions == 1){ ?>

" data-total="" onclick="gmwdPagination(event, this);" data-key="" >
model->get_markers_page_nav(); ?>

listing_header_title ? $row->listing_header_title : __("Markers","gmwd");?>

" value="">
custom_marker_url){ $marker_icon = $marker->custom_marker_url; } $alternate = $i%2 == 0 ? 'gmwd_alternate'.$shortcode_id : ""; ?>
 title;?>
cat_title;?>
address;?>
', $marker->description)); ?>
" data-total="" onclick="gmwdPagination(event, this);" data-key="" >
model->get_marker_categories(); $class_columns_first = $theme->store_locator_columns == 0 ? "col-lg-12 col-md-12 col-sm-12 col-xs-12" : "col-lg-7 col-md-7 col-sm-12 col-xs-12"; $class_columns_second = $theme->store_locator_columns == 0 ? "col-lg-12 col-md-12 col-sm-12 col-xs-12" : "col-lg-5 col-md-5 col-sm-12 col-xs-12"; $btn_alignment_class = $theme->store_locator_buttons_alignment == 0 ? "wd-text-left" : ($theme->store_locator_buttons_alignment == 1 ? "wd-text-center" : "wd-text-right"); ?>

store_locator_header_title ? $row->store_locator_header_title : __("Store Locator","gmwd");?>

" class="">
directions_columns == 0 ? "col-lg-12 col-md-12 col-sm-12 col-xs-12" : "col-lg-4 col-md-4 col-sm-12 col-xs-12"; $class_columns_second = $theme->directions_columns == 0 ? "col-lg-12 col-md-12 col-sm-12 col-xs-12" : "col-lg-8 col-md-8 col-sm-12 col-xs-12"; $btn_alignment_class = $theme->directions_button_alignment == 0 ? "wd-text-left" : ($theme->directions_button_alignment == 1 ? "wd-text-center" : "wd-text-right"); ?>
wd-clear">

directions_header_title ? $row->directions_header_title : __("Get Directions","gmwd");?>

" class="">
" class="">