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.08247, 35.281962); markers[186]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"זמן קסם" }); markers[186].infowindow =new google.maps.InfoWindow({ content: "

זמן קסם

", maxWidth: 500, }); google.maps.event.addListener(markers[186], 'click', function() { markers[186].infowindow.open(map,markers[186]); }); myLatLng=new google.maps.LatLng(33.016553, 35.489911); markers[249]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"בקתות אגם" }); markers[249].infowindow =new google.maps.InfoWindow({ content: "

בקתות אגם

", maxWidth: 500, }); google.maps.event.addListener(markers[249], 'click', function() { markers[249].infowindow.open(map,markers[249]); }); 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[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.812247, 35.486453); markers[1017]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"הבקתה הגלילית" }); markers[1017].infowindow =new google.maps.InfoWindow({ content: "

הבקתה הגלילית

", maxWidth: 500, }); google.maps.event.addListener(markers[1017], 'click', function() { markers[1017].infowindow.open(map,markers[1017]); }); myLatLng=new google.maps.LatLng(32.9432058, 35.4387131); markers[1105]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"חלום לשניים" }); markers[1105].infowindow =new google.maps.InfoWindow({ content: "

חלום לשניים

", maxWidth: 500, }); google.maps.event.addListener(markers[1105], 'click', function() { markers[1105].infowindow.open(map,markers[1105]); }); myLatLng=new google.maps.LatLng(32.0852999, 34.7817676); markers[1224]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"וילה H תל אביב" }); markers[1224].infowindow =new google.maps.InfoWindow({ content: "

וילה H תל אביב

", maxWidth: 500, }); google.maps.event.addListener(markers[1224], 'click', function() { markers[1224].infowindow.open(map,markers[1224]); }); myLatLng=new google.maps.LatLng(32.850365, 35.665245); markers[1237]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"בקתות טוסקנה" }); markers[1237].infowindow =new google.maps.InfoWindow({ content: "

בקתות טוסקנה

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