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.055566, 35.233619); markers[341]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"יערות המונפורט" }); markers[341].infowindow =new google.maps.InfoWindow({ content: "

יערות המונפורט

", maxWidth: 500, }); google.maps.event.addListener(markers[341], 'click', function() { markers[341].infowindow.open(map,markers[341]); }); 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(33.015929, 35.265505); markers[1047]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"וילה מון בלאן" }); markers[1047].infowindow =new google.maps.InfoWindow({ content: "

וילה מון בלאן

", maxWidth: 500, }); google.maps.event.addListener(markers[1047], 'click', function() { markers[1047].infowindow.open(map,markers[1047]); }); 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]); }); myLatLng=new google.maps.LatLng(32.4728028, 34.9742001); markers[1197]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"רויאל פאלאס" }); markers[1197].infowindow =new google.maps.InfoWindow({ content: "

רויאל פאלאס

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