var map; function initialize() { var myLatLng=new google.maps.LatLng(32.9971381, 35.4206581); 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.016894, 35.263626); markers[673]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת טרה קוטה" }); markers[673].infowindow =new google.maps.InfoWindow({ content: "

אחוזת טרה קוטה

", maxWidth: 500, }); google.maps.event.addListener(markers[673], 'click', function() { markers[673].infowindow.open(map,markers[673]); }); myLatLng=new google.maps.LatLng(32.997699, 35.298723); markers[797]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"מקסים בחוסן" }); markers[797].infowindow =new google.maps.InfoWindow({ content: "

מקסים בחוסן

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

סה לה וילה

", maxWidth: 500, }); google.maps.event.addListener(markers[1035], 'click', function() { markers[1035].infowindow.open(map,markers[1035]); }); myLatLng=new google.maps.LatLng(32.959801, 35.260956); markers[1069]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"הולידיי פול" }); markers[1069].infowindow =new google.maps.InfoWindow({ content: "

הולידיי פול

", maxWidth: 500, }); google.maps.event.addListener(markers[1069], 'click', function() { markers[1069].infowindow.open(map,markers[1069]); }); myLatLng=new google.maps.LatLng(33.006488, 35.31479); markers[1189]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת צוריאל" }); markers[1189].infowindow =new google.maps.InfoWindow({ content: "

אחוזת צוריאל

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