function GMap() {
var latlng=[
{"id":"15","act":"n","title":"Tombs of The Kings, Paphos","lat":"34.7755270","lng":"32.4057640","url":"https://www.allplacestovisit.com/cyprus/paphos/tombs-of-kings-paphos/","img":"https://www.allplacestovisit.com/upl/places/2019/tombs-of-kings-paphos.jpg"},
{"id":"16","act":"n","title":"St. Solomon's Catacombs","lat":"34.7626620","lng":"32.4129370","url":"https://www.allplacestovisit.com/cyprus/paphos/st.-solomons-catacombs/","img":"https://www.allplacestovisit.com/upl/places/2019/st.-solomons-catacombs.jpg"},
{"id":"17","act":"n","title":"Agioi Anargyroi Church","lat":"34.7620940","lng":"32.4172850","url":"https://www.allplacestovisit.com/cyprus/paphos/agioi-anargyroi-church/","img":"https://www.allplacestovisit.com/upl/places/2019/agioi-anargyroi-church17.jpg"},
{"id":"18","act":"n","title":"Church of Panagia Theoskepasti","lat":"34.7572440","lng":"32.4156780","url":"https://www.allplacestovisit.com/cyprus/paphos/church-of-panagia-theoskepasti/","img":"https://www.allplacestovisit.com/upl/places/2019/church-of-panagia-theoskepasti18.jpg"},
{"id":"19","act":"n","title":"Paphos Harbour Castle","lat":"34.7537950","lng":"32.4071650","url":"https://www.allplacestovisit.com/cyprus/paphos/paphos-harbour-castle/","img":"https://www.allplacestovisit.com/upl/places/2019/paphos-harbour-castle.jpg"},
{"id":"69","act":"n","title":"Paphos Ethnografic Museum","lat":"34.7721140","lng":"32.4303340","url":"https://www.allplacestovisit.com/cyprus/paphos/paphos-ethnografic-museum/","img":"https://www.allplacestovisit.com/upl/places/2019/paphos-ethnografic-museum69.jpg"},
];
var iw=null;
$(function() {
var map_center=new google.maps.LatLng(34.7753010,32.4219690);
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 +'
';}
});
});
}