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(32.975137, 35.506404); markers[387]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת דיימונדס" }); markers[387].infowindow =new google.maps.InfoWindow({ content: "

אחוזת דיימונדס

", maxWidth: 500, }); google.maps.event.addListener(markers[387], 'click', function() { markers[387].infowindow.open(map,markers[387]); }); 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.997699, 35.298723); markers[775]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"פירנצה בוטיק" }); markers[775].infowindow =new google.maps.InfoWindow({ content: "

פירנצה בוטיק

", maxWidth: 500, }); google.maps.event.addListener(markers[775], 'click', function() { markers[775].infowindow.open(map,markers[775]); }); 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.075143, 35.295219); markers[1168]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"וילה קסקדה" }); markers[1168].infowindow =new google.maps.InfoWindow({ content: "

וילה קסקדה

", maxWidth: 500, }); google.maps.event.addListener(markers[1168], 'click', function() { markers[1168].infowindow.open(map,markers[1168]); }); 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);