');infowindow.open(map_map_6566e45e8e232,marker_map_6566e45e8e232);google.maps.event.addListener(marker_map_6566e45e8e232, 'click', function() {
infowindow.open(map_map_6566e45e8e232,marker_map_6566e45e8e232);
});}
catch(e){};
google.maps.event.trigger(map_map_6566e45e8e232, 'resize');
$(window).on('resize', function(){
google.maps.event.trigger(map_map_6566e45e8e232, 'resize');
if(map_map_6566e45e8e232!=null) {
map_map_6566e45e8e232.setCenter(coordinate_map_6566e45e8e232);
}
});
$('.ui-tabs').on('tabsactivate', function(event, ui) {
if($(this).find('.porto-map-wrapper').length > 0)
{
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
$('.ui-accordion').on('accordionactivate', function(event, ui) {
if($(this).find('.porto-map-wrapper').length > 0) {
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
$(document).on('onPortoModalPopupOpen', function(){
if($(map_map_6566e45e8e232).parents('.porto_modal-content')) {
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
function toggleBounce() {
if (marker_map_6566e45e8e232.getAnimation() != null) {
marker_map_6566e45e8e232.setAnimation(null);
} else {
marker_map_6566e45e8e232.setAnimation(google.maps.Animation.BOUNCE);
}
}
});$(window).on('load', function() {
setTimeout(function() {
$(window).trigger('resize');
},200);
});
})(jQuery);