?> ); var myOptions = { zoom: <?php echo !empty($wp_properties['configuration']['gm_zoom_level']) ? $wp_properties['configuration']['gm_zoom_level'] : 13; ?> , center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.maps.Map(document.getElementById("property_map"), myOptions); infowindow = new google.maps.InfoWindow({ content: '<?php echo WPP_F::google_maps_infobox($post); ?> ', maxWidth: 500 }); marker = new google.maps.Marker({ position: myLatlng, map: map, title: '<?php echo addslashes($post->post_title); ?> ', icon: '<?php echo apply_filters('wpp_supermap_marker', '', $post->ID); ?>
echo addslashes($property['post_title']); ?> ', icon: '<?php echo apply_filters('wpp_supermap_marker', '', $property['ID']); ?> ' } ); <?php if ($data['hide_infobox'] != 'true') { ?> var infowindow = new google.maps.InfoWindow( { content: '<?php echo WPP_F::google_maps_infobox($property); ?> ' } ); setTimeout( function () { infowindow.open( map, marker ); google.maps.event.addListener( infowindow, 'domready', function () { document.getElementById( 'infowindow' ).parentNode.style.overflow = 'hidden'; document.getElementById( 'infowindow' ).parentNode.parentNode.style.overflow = 'hidden'; } ); google.maps.event.addListener( marker, 'click', function () { infowindow.open( map, marker );