');google.maps.event.addListener(marker_map_673efe884915c, 'click', function() { infowindow.open(map_map_673efe884915c,marker_map_673efe884915c); });} catch(e){}; jQuery(document).ready(function($){ google.maps.event.trigger(map_map_673efe884915c, 'resize'); $(window).resize(function(){ google.maps.event.trigger(map_map_673efe884915c, 'resize'); if(map_map_673efe884915c!=null) map_map_673efe884915c.setCenter(coordinate_map_673efe884915c); }); $('.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_673efe884915c).parents('.ult_exp_section')) { setTimeout(function(){ $(window).trigger('resize'); },200); } }); $(document).on('onUVCModalPopupOpen', function(){ if($(map_map_673efe884915c).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_673efe884915c.getAnimation() != null) { marker_map_673efe884915c.setAnimation(null); } else { marker_map_673efe884915c.setAnimation(google.maps.Animation.BOUNCE); } } })(jQuery);