var map; function initialize() { var myLatLng=new google.maps.LatLng(33.04647, 35.56525); 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.04647, 35.56525); markers[994]= new google.maps.Marker({ position: myLatLng, map: map, icon: image, title:"איתן בקתות עץ" }); markers[994].infowindow =new google.maps.InfoWindow({ content: "

איתן בקתות עץ

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