function initialize() { var myLatlng = new google.maps.LatLng(35.42109737006163, 39.6625894775391); var myOptions = { zoom: 6, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById('map'), myOptions); } function loadScript() { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'http://maps.google.com/maps/api/js?sensor=false&callback=initialize&language=ar'; document.body.appendChild(script); } window.onload = loadScript; المزيد