function GMap() {
var latlng=[
{"id":"213","act":"n","title":"The Island of Gozo","lat":"36.0235640","lng":"14.2986470","url":"https://www.allplacestovisit.com/malta/gozo-island/gozo/","img":"https://www.allplacestovisit.com/upl/places/2019/gozo213.jpg"},
{"id":"217","act":"n","title":"Ggantija Temples","lat":"36.0472530","lng":"14.2691020","url":"https://www.allplacestovisit.com/malta/gozo-island/ggantija-temples/","img":"https://www.allplacestovisit.com/upl/places/2019/ggantija-temples.jpg"},
{"id":"228","act":"y","title":"A Natural Pool Near Dwejra Bay","lat":"36.0469280","lng":"14.1909080","url":"https://www.allplacestovisit.com/malta/gozo-island/a-natural-pool-near-dwejra-bay/","img":"https://www.allplacestovisit.com/upl/places/2019/a-natural-pool-near-dwejra-bay.jpg"},
{"id":"238","act":"n","title":"Pomzkizillious Toy Museum","lat":"36.0523430","lng":"14.2693520","url":"https://www.allplacestovisit.com/malta/gozo-island/pomzkizillious-toy-museum/","img":"https://www.allplacestovisit.com/upl/places/2019/pomzkizillious-toy-museum.jpg"},
{"id":"239","act":"n","title":"Ta’ Pinu Basilica, Gozo","lat":"36.0619730","lng":"14.2148380","url":"https://www.allplacestovisit.com/malta/gozo-island/ta-pinu-basilica-gozo/","img":"https://www.allplacestovisit.com/upl/places/2019/ta-pinu-basilica-gozo239.jpg"},
{"id":"243","act":"n","title":"Salt Pans","lat":"36.0797450","lng":"14.2460560","url":"https://www.allplacestovisit.com/malta/gozo-island/salt-pans/","img":"https://www.allplacestovisit.com/upl/places/2019/salt-pans.jpg"},
];
var iw=null;
$(function() {
var map_center=new google.maps.LatLng(36.0450000,14.2588900);
var icon={url:('img/i_pin.svg'),size:new google.maps.Size(36,36),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(18,36),scaledSize:new google.maps.Size(36,36)};
var icon_act={url:('img/i_pin_act.svg'),size:new google.maps.Size(44,44),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(22,44),scaledSize:new google.maps.Size(44,44)};
var mapOptions={center:map_center,zoom:13,maxZoom:17,streetViewControl:false,panControl:false,mapTypeId:'roadmap',mapTypeControl:true,scaleControl:false,streetViewControl:false,rotateControl:false,fullscreenControl:false,zoomControl:true,zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL}};
var map=new google.maps.Map(document.getElementById('map'), mapOptions);
var iw=new google.maps.InfoWindow({content:''});
$.each(latlng, function(i, m) {
if(m.act=='y'){var marker=new google.maps.Marker({position: new google.maps.LatLng(m.lat, m.lng),bounds:true,id:'o'+m.id,letter:m.index,map:map,icon:icon_act,title:m.title});}
else{var marker=new google.maps.Marker({position: new google.maps.LatLng(m.lat, m.lng),bounds:true,id:'o'+m.id,letter:m.index,map:map,icon:icon,title:m.title});}
google.maps.event.addListener(map,'click',function(){iw.close();});
google.maps.event.addListener(marker,'click',function(){iw.close();iw.setContent(contentString);iw.open(map,marker);});
if(m.img==''){var contentString=''+ m.title +'';}
else{var contentString=''+ m.title +'
';}
});
});
}