');infowindow.open(map_map_678ab9264ee27,marker_map_678ab9264ee27);google.maps.event.addListener(marker_map_678ab9264ee27, 'click', function() {
infowindow.open(map_map_678ab9264ee27,marker_map_678ab9264ee27);
});}
catch(e){};
google.maps.event.trigger(map_map_678ab9264ee27, 'resize');
$(window).on('resize', function(){
google.maps.event.trigger(map_map_678ab9264ee27, 'resize');
if(map_map_678ab9264ee27!=null) {
map_map_678ab9264ee27.setCenter(coordinate_map_678ab9264ee27);
}
});
$('.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_678ab9264ee27).parents('.porto_modal-content')) {
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
function toggleBounce() {
if (marker_map_678ab9264ee27.getAnimation() != null) {
marker_map_678ab9264ee27.setAnimation(null);
} else {
marker_map_678ab9264ee27.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 );
} );
} )();