');infowindow.open(map_map_641da034a93b3,marker_map_641da034a93b3);google.maps.event.addListener(marker_map_641da034a93b3, 'click', function() {
infowindow.open(map_map_641da034a93b3,marker_map_641da034a93b3);
});}
catch(e){};
google.maps.event.trigger(map_map_641da034a93b3, 'resize');
$(window).on('resize', function(){
google.maps.event.trigger(map_map_641da034a93b3, 'resize');
if(map_map_641da034a93b3!=null) {
map_map_641da034a93b3.setCenter(coordinate_map_641da034a93b3);
}
});
$('.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_641da034a93b3).parents('.porto_modal-content')) {
setTimeout(function(){
$(window).trigger('resize');
},200);
}
});
function toggleBounce() {
if (marker_map_641da034a93b3.getAnimation() != null) {
marker_map_641da034a93b3.setAnimation(null);
} else {
marker_map_641da034a93b3.setAnimation(google.maps.Animation.BOUNCE);
}
}
});
$(window).on('load', function() {
setTimeout(function() {
$(window).trigger('resize');
},200);
});
})(jQuery);