var map; function initialize() { var myLatLng=new google.maps.LatLng(33.016553, 35.489911); 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(33.016553, 35.489911); markers[249]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"בקתות אגם" }); markers[249].infowindow =new google.maps.InfoWindow({ content: "

בקתות אגם

", maxWidth: 500, }); google.maps.event.addListener(markers[249], 'click', function() { markers[249].infowindow.open(map,markers[249]); }); myLatLng=new google.maps.LatLng(33.018434, 35.484591); markers[708]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת קימונו" }); markers[708].infowindow =new google.maps.InfoWindow({ content: "

אחוזת קימונו

", maxWidth: 500, }); google.maps.event.addListener(markers[708], 'click', function() { markers[708].infowindow.open(map,markers[708]); }); myLatLng=new google.maps.LatLng(33.016553, 35.489911); markers[791]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"סוויטות כחול לבן" }); markers[791].infowindow =new google.maps.InfoWindow({ content: "

סוויטות כחול לבן

", maxWidth: 500, }); google.maps.event.addListener(markers[791], 'click', function() { markers[791].infowindow.open(map,markers[791]); }); myLatLng=new google.maps.LatLng(33.016553, 35.489911); markers[860]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אוטופיה בצפון" }); markers[860].infowindow =new google.maps.InfoWindow({ content: "

אוטופיה בצפון

", maxWidth: 500, }); google.maps.event.addListener(markers[860], 'click', function() { markers[860].infowindow.open(map,markers[860]); }); myLatLng=new google.maps.LatLng(33.016553, 35.489911); markers[1087]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"סוויטות אמיליה" }); markers[1087].infowindow =new google.maps.InfoWindow({ content: "

סוויטות אמיליה

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