function GMap() {
var latlng=[
{"id":"53","act":"n","title":"Kamares Aqueduct","lat":"34.9122450","lng":"33.5986970","url":"https://www.allplacestovisit.com/cyprus/larnaca/kamares-aqueduct/","img":"https://www.allplacestovisit.com/upl/places/2019/kamares-aqueduct.jpg"},
{"id":"54","act":"n","title":"Larnaka Salt Lake","lat":"34.9060920","lng":"33.6206190","url":"https://www.allplacestovisit.com/cyprus/larnaca/larnaka-salt-lake/","img":"https://www.allplacestovisit.com/upl/places/2019/larnaka-salt-lake.jpg"},
{"id":"55","act":"n","title":"Larnaka Medieval Castle","lat":"34.9103240","lng":"33.6378230","url":"https://www.allplacestovisit.com/cyprus/larnaca/larnaka-medieval-castle/","img":"https://www.allplacestovisit.com/upl/places/2019/larnaka-medieval-castle.jpg"},
{"id":"56","act":"n","title":"Larnaka Marina","lat":"34.9178750","lng":"33.6392400","url":"https://www.allplacestovisit.com/cyprus/larnaca/larnaka-marina/","img":"https://www.allplacestovisit.com/upl/places/2019/larnaka-marina.jpg"},
{"id":"57","act":"n","title":"Oroklini Lake","lat":"34.9708160","lng":"33.6547560","url":"https://www.allplacestovisit.com/cyprus/larnaca/oroklini-lake/","img":"https://www.allplacestovisit.com/upl/places/2019/oroklini-lake.jpg"},
{"id":"96","act":"y","title":"Saint Lazarus Church","lat":"34.9115700","lng":"33.6349490","url":"https://www.allplacestovisit.com/cyprus/larnaca/saint-lazarus-church/","img":"https://www.allplacestovisit.com/upl/places/2019/saint-lazarus-church96.jpg"},
{"id":"102","act":"n","title":"Chala Sultan Tekke Mosque","lat":"34.8855410","lng":"33.6100580","url":"https://www.allplacestovisit.com/cyprus/larnaca/chala-sultan-tekke/","img":"https://www.allplacestovisit.com/upl/places/2019/chala-sultan-tekke.jpg"},
];
var iw=null;
$(function() {
var map_center=new google.maps.LatLng(34.9116810,33.6348330);
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 +'
';}
});
});
}