var map; function initialize() { var myLatLng=new google.maps.LatLng(32.968902, 35.550547); var mapOptions = { zoom: 10, 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.013123, 35.440171); markers[697]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אצל ירדנה" }); markers[697].infowindow =new google.maps.InfoWindow({ content: "

אצל ירדנה

", maxWidth: 500, }); google.maps.event.addListener(markers[697], 'click', function() { markers[697].infowindow.open(map,markers[697]); }); myLatLng=new google.maps.LatLng(32.90658, 35.395291); markers[739]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"סוויטות נוף מרים" }); markers[739].infowindow =new google.maps.InfoWindow({ content: "

סוויטות נוף מרים

", maxWidth: 500, }); google.maps.event.addListener(markers[739], 'click', function() { markers[739].infowindow.open(map,markers[739]); }); myLatLng=new google.maps.LatLng(32.90658, 35.395291); markers[982]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"מרומי חזון אירוח כפרי" }); markers[982].infowindow =new google.maps.InfoWindow({ content: "

מרומי חזון אירוח כפרי

", maxWidth: 500, }); google.maps.event.addListener(markers[982], 'click', function() { markers[982].infowindow.open(map,markers[982]); }); myLatLng=new google.maps.LatLng(33.089381, 35.470338); markers[1059]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"חלום בלבן" }); markers[1059].infowindow =new google.maps.InfoWindow({ content: "

חלום בלבן

", maxWidth: 500, }); google.maps.event.addListener(markers[1059], 'click', function() { markers[1059].infowindow.open(map,markers[1059]); }); myLatLng=new google.maps.LatLng(33.089381, 35.470338); markers[1211]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"וילה סי" }); markers[1211].infowindow =new google.maps.InfoWindow({ content: "

וילה סי

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