');google.maps.event.addListener(marker_map_6177364126269, 'click', function() { infowindow.open(map_map_6177364126269,marker_map_6177364126269); });} catch(e){}; jQuery(document).ready(function($){ google.maps.event.trigger(map_map_6177364126269, 'resize'); $(window).resize(function(){ google.maps.event.trigger(map_map_6177364126269, 'resize'); if(map_map_6177364126269!=null) map_map_6177364126269.setCenter(coordinate_map_6177364126269); }); $('.ui-tabs').bind('tabsactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $('.ui-accordion').bind('accordionactivate', function(event, ui) { if($(this).find('.ultimate-map-wrapper').length > 0) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(window).load(function(){ setTimeout(function(){ $(window).trigger('resize'); },200); }); $('.ult_exp_section').select(function(){ if($(map_map_6177364126269).parents('.ult_exp_section')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('onUVCModalPopupOpen', function(){ if($(map_map_6177364126269).parents('.ult_modal-content')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('click','.ult_tab_li',function(){ $(window).trigger('resize'); setTimeout(function(){ $(window).trigger('resize'); },200); }); }); function toggleBounce() { if (marker_map_6177364126269.getAnimation() != null) { marker_map_6177364126269.setAnimation(null); } else { marker_map_6177364126269.setAnimation(google.maps.Animation.BOUNCE); } } })(jQuery);