'+
'
'+
'
'+
info_title +
'
'+
'
'+
'
';
var infowindow = new google.maps.InfoWindow({
content: info_window
});
// Set center infowindow and First load height of map
if ( $(window).width() > 767 ) {
setTimeout(function() {
google.maps.event.trigger(marker, 'click')
}, 2000);
} else {
$this.height('500px');
}
if ( info_window != '') {
infowindow.open(map, marker);
marker.addListener('click', function() {
infowindow.open(map, marker);
map.setCenter(marker.getPosition()); // Set center infowindow
});
}
// Responsive
google.maps.event.addDomListener(window, 'resize', function() {
var center = map.getCenter();
google.maps.event.trigger(map, "resize");
if ( $(window).width()