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