');infowindow.open(map_map_672d067ea7d08,marker_map_672d067ea7d08);google.maps.event.addListener(marker_map_672d067ea7d08, 'click', function() {
infowindow.open(map_map_672d067ea7d08,marker_map_672d067ea7d08);
});}
catch(e){};
google.maps.event.trigger(map_map_672d067ea7d08, 'resize');
$(window).on('resize', function(){
google.maps.event.trigger(map_map_672d067ea7d08, 'resize');
if(map_map_672d067ea7d08!=null) {
map_map_672d067ea7d08.setCenter(coordinate_map_672d067ea7d08);
}
});
$('.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_672d067ea7d08).parents('.porto_modal-content')) {
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
function toggleBounce() {
if (marker_map_672d067ea7d08.getAnimation() != null) {
marker_map_672d067ea7d08.setAnimation(null);
} else {
marker_map_672d067ea7d08.setAnimation(google.maps.Animation.BOUNCE);
}
}
} )( window.jQuery );
};
if ( window.jQuery ) {
jQuery( document ).ready(function() {
porto_init_map();
} );
} else {
document.addEventListener( 'DOMContentLoaded', porto_init_map );
}
window.addEventListener( 'load', function() {
setTimeout( function() {
jQuery( window ).trigger( 'resize' );
}, 200 );
} );
} )();