var map; function initialize() { var myLatLng=new google.maps.LatLng(32.850365, 35.665245); var mapOptions = { zoom: 14, center: myLatLng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); var image = 'https://www.zimmerland.co.il/webimages/waze_icon2.png'; var markers=new Array(); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[670]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"סוויטות אילי" }); markers[670].infowindow =new google.maps.InfoWindow({ content: "

סוויטות אילי

", maxWidth: 500, }); google.maps.event.addListener(markers[670], 'click', function() { markers[670].infowindow.open(map,markers[670]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1079]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"קסם על ים כנרת" }); markers[1079].infowindow =new google.maps.InfoWindow({ content: "

קסם על ים כנרת

", maxWidth: 500, }); google.maps.event.addListener(markers[1079], 'click', function() { markers[1079].infowindow.open(map,markers[1079]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1130]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"מול הנוף" }); markers[1130].infowindow =new google.maps.InfoWindow({ content: "

מול הנוף

", maxWidth: 500, }); google.maps.event.addListener(markers[1130], 'click', function() { markers[1130].infowindow.open(map,markers[1130]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1215]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"סייסטה ברמות" }); markers[1215].infowindow =new google.maps.InfoWindow({ content: "

סייסטה ברמות

", maxWidth: 500, }); google.maps.event.addListener(markers[1215], 'click', function() { markers[1215].infowindow.open(map,markers[1215]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1237]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"בקתות טוסקנה" }); markers[1237].infowindow =new google.maps.InfoWindow({ content: "

בקתות טוסקנה

", maxWidth: 500, }); google.maps.event.addListener(markers[1237], 'click', function() { markers[1237].infowindow.open(map,markers[1237]); }); } google.maps.event.addDomListener(window, 'load', initialize);