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.795859, 35.530973); markers[173]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוזת כינורות" }); markers[173].infowindow =new google.maps.InfoWindow({ content: "

אחוזת כינורות

", maxWidth: 500, }); google.maps.event.addListener(markers[173], 'click', function() { markers[173].infowindow.open(map,markers[173]); }); 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.558756, 35.305659); markers[665]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"שלווה בעמק" }); markers[665].infowindow =new google.maps.InfoWindow({ content: "

שלווה בעמק

", maxWidth: 500, }); google.maps.event.addListener(markers[665], 'click', function() { markers[665].infowindow.open(map,markers[665]); }); myLatLng=new google.maps.LatLng(32.844172, 35.423166); markers[754]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"שניים שאוהבים" }); markers[754].infowindow =new google.maps.InfoWindow({ content: "

שניים שאוהבים

", maxWidth: 500, }); google.maps.event.addListener(markers[754], 'click', function() { markers[754].infowindow.open(map,markers[754]); }); myLatLng=new google.maps.LatLng(32.545509, 35.300898); markers[845]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"אחוות השקד" }); markers[845].infowindow =new google.maps.InfoWindow({ content: "

אחוות השקד

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