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.995038, 35.300048); markers[1]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"צימר המערה המקורי" }); markers[1].infowindow =new google.maps.InfoWindow({ content: "

צימר המערה המקורי

", maxWidth: 500, }); google.maps.event.addListener(markers[1], 'click', function() { markers[1].infowindow.open(map,markers[1]); }); myLatLng=new google.maps.LatLng(33.013719, 35.094308); markers[319]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת נירוונה בגליל" }); markers[319].infowindow =new google.maps.InfoWindow({ content: "

אחוזת נירוונה בגליל

", maxWidth: 500, }); google.maps.event.addListener(markers[319], 'click', function() { markers[319].infowindow.open(map,markers[319]); }); myLatLng=new google.maps.LatLng(32.521471, 35.306431); markers[360]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת הגלבוע" }); markers[360].infowindow =new google.maps.InfoWindow({ content: "

אחוזת הגלבוע

", maxWidth: 500, }); google.maps.event.addListener(markers[360], 'click', function() { markers[360].infowindow.open(map,markers[360]); }); 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(32.904989, 35.571136); markers[792]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת זאבי" }); markers[792].infowindow =new google.maps.InfoWindow({ content: "

אחוזת זאבי

", maxWidth: 500, }); google.maps.event.addListener(markers[792], 'click', function() { markers[792].infowindow.open(map,markers[792]); }); myLatLng=new google.maps.LatLng(32.933936, 35.354523); markers[872]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת אופוריה בשזור" }); markers[872].infowindow =new google.maps.InfoWindow({ content: "

אחוזת אופוריה בשזור

", maxWidth: 500, }); google.maps.event.addListener(markers[872], 'click', function() { markers[872].infowindow.open(map,markers[872]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1130]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"מול הנוף" }); markers[1130].infowindow =new google.maps.InfoWindow({ content: "

מול הנוף

", maxWidth: 500, }); google.maps.event.addListener(markers[1130], 'click', function() { markers[1130].infowindow.open(map,markers[1130]); }); myLatLng=new google.maps.LatLng(33.068013, 35.18608); markers[1202]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"לינוי בגליל" }); markers[1202].infowindow =new google.maps.InfoWindow({ content: "

לינוי בגליל

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