function GMap() { var latlng=[ {"id":"15","title":"Tombs of The Kings, Paphos","lat":"34.7755270","lng":"32.4057640","url":"","img":""}, ]; var iw=null; $(function() { var map_center=new google.maps.LatLng(34.7753010,32.4219690); 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:12,maxZoom:17,streetViewControl:false,panControl:false,mapTypeId:'roadmap',mapTypeControl:false,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_mini'), mapOptions); var iw=new google.maps.InfoWindow({content:''}); $.each(latlng, function(i, m) { 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}); }); }); }