<?php //netteCache[01]000601a:2:{s:4:"time";s:21:"0.98731600 1552557401";s:9:"callbacks";a:4:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:114:"/home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/ait-theme/elements/header-map/header-map.latte";i:2;i:1528175527;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:22:"released on 2014-08-28";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:15:"WPLATTE_VERSION";i:2;s:5:"2.9.2";}i:3;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:17:"AIT_THEME_VERSION";i:2;s:4:"3.20";}}}?><?php

// source file: /home/bebiluck/public_html/buburbayi.id/wp-content/themes/cityguide/ait-theme/elements/header-map/header-map.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'abkp4wr1dp')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
$elmAddress = $el->option('address') ?>

<?php $scrollWheel = $el->option('mousewheelZoom') ? "true" : "false" ;$autoZoomAndFit = $el->option('autoZoomAndFit') ? true : false ;$clustering = $el->option('clusterEnable') ? true : false ;$clustering = $el->option('clusterEnable') ? true : false ;$geoLocation = $el->option('geoLocationEnable') ? true : false ;$radius = false ?>

<?php $streetview = false ;$swheading = '' ;$swpitch = '' ;$swzoom = '' ?>

<?php $elmStreetview = false ;if ($elmAddress['streetview']) { $elmStreetview = true ;$address 	= array(
		'latitude'  => $elmAddress['latitude'],
		'longitude' => $elmAddress['longitude'],
	) ;$swheading = $elmAddress['swheading'] ;$swpitch   = $elmAddress['swpitch'] ;$swzoom    = $elmAddress['swzoom'] ;} else { $address = $el->option('address') ;} ?>

<?php $mapHeight = 'style="height: '. $el->option->height .'vh;"' ?>

<?php global $wp_query ;global $__ait_query_data; $globalQueryVars = $wp_query->query_vars ?>

<?php $pageType = 'normal' ?>

<?php if ($wp->isSearch && isset($_REQUEST['a'])) { $pageType = 'search' ;$searchQuery = wp_parse_args($_GET) ;if (!empty($_REQUEST['rad'])) { $geoLocation = true ;$radius = $_REQUEST['rad'] ;} ?>

<?php } elseif ($wp->isTax('ait-items') or $wp->isTax('ait-locations')) { $pageType = 'ait-items' ?>

<?php } elseif ($wp->isSingular('ait-item')) { $pageType = 'ait-item' ;$autoZoomAndFit = true ;$itemAddress = $post->meta('item-data')->map ;if ($itemAddress['streetview']) { $streetview = true ;$address 	= array(
			'latitude'  => $itemAddress['latitude'],
			'longitude' => $itemAddress['longitude'],
		) ;$swheading = $itemAddress['swheading'] ;$swpitch   = $itemAddress['swpitch'] ;$swzoom    = $itemAddress['swzoom'] ;} ?>

<?php } elseif ($wp->isSingular('ait-event-pro')) { $pageType = 'ait-event-pro' ;$autoZoomAndFit = true ;$itemAddress = aitEventAddress($post, true) ;if ($itemAddress['streetview']) { $streetview = true ;$address 	= array(
			'latitude'  => $itemAddress['latitude'],
			'longitude' => $itemAddress['longitude'],
		) ?>

<?php $swheading = $itemAddress['swheading'] ;$swpitch   = $itemAddress['swpitch'] ;$swzoom    = $itemAddress['swzoom'] ;} } ?>


<?php if (($el->hasOption('title') and $el->option->title) or ($el->hasOption('description') and $el->option->description)) { ?>
	<div class="elm-wrapper">
	
		<div<?php if ($_l->tmp = array_filter(array('elm-mainheader', $el->hasOption('headAlign') ? $el->option->headAlign:null))) echo ' class="' . NTemplateHelpers::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"' ?>>
<?php if ($el->option->title) { ?>
				<h2 class="elm-maintitle"><?php echo $el->option->title ?></h2>
<?php } if ($el->option->description) { ?>
				<p class="elm-maindesc"><?php echo $el->option->description ?></p>
<?php } ?>
		</div>
	</div>
<?php } ?>

	<div id="<?php echo NTemplateHelpers::escapeHtml($htmlId, ENT_COMPAT) ?>" class="<?php echo NTemplateHelpers::escapeHtml($htmlClass, ENT_COMPAT) ?>">
<div id="<?php echo NTemplateHelpers::escapeHtml($element->htmlId, ENT_COMPAT) ?>-main">

<?php $mapParams = array(
			'name'				=> 'headerMap',
			'enableAutoFit'     => $autoZoomAndFit,
			'enableClustering'  => $clustering,
			'typeId'            => $el->option('type'),
			'clusterRadius'     => intval($el->option('clusterRadius')),
			'enableGeolocation' => $geoLocation,
			'radius'			=> $radius,
			'streetview'		=> $streetview,
			'address'			=> $address,
			'swheading'			=> $swheading,
			'swpitch'			=> $swpitch,
			'swzoom'			=> $swzoom,
			'externalInfoWindow'=> false,
			'i18n'		        => aitMapTranslations(),
		) ;NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("parts/google-map", ""), array('options'     => aitGetMapOptions($el->options),
			'markers'     => array(),
			'params'      => $mapParams,
			'containerID' => $htmlId,
			'mapHeight'   => $mapHeight) + get_defined_vars(), $_l->templates['abkp4wr1dp'])->render() ?>

<?php NCoreMacros::includeTemplate(WpLatteMacros::getTemplatePart("ait-theme/elements/header-map/javascript", ""), array() + get_defined_vars(), $_l->templates['abkp4wr1dp'])->render() ?>
	</div>
	
<div style="font-family: Arial;" id="topbar">
 
<a href="http://buburbayi.id/"><img src="http://buburbayi.id/home.png" /></a></br>
<a class="modal-link" href="http://buburbayi.id/tentang-kami/"><img src="http://buburbayi.id/about-us.png" /></a></br>
<a class="modal-link" href="http://buburbayi.id/hubungi-kami/"><img src="http://buburbayi.id/email-icon.png" /></a</br>
<a class="modal-link" href="https://buburbayi.id/tambahkan-outlet-baby-store-anda/"><img src="http://buburbayi.id/addloc.png" /></a>
</br>
  <g:plusone></g:plusone>
</div>

</div>