日期:2014-05-16 浏览次数:20378 次
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title></title> <script type="text/javascript" id="aaa" runat="server" src="http://maps.google.com/maps/api/js? sensor=true&language=zh-CN"></script> <script type="text/javascript"> var map; var icon; var point; var marker; var i = 0; var latlngArray =new Array(); var flightPath; var myLatlng; function ini_load() { myLatlng=new google.maps.LatLng(23.542121,114.073339); var Options={ zoom: 17, center: myLatlng, mapTypeControl:true, maptypeControlOptions: {style:google.maps.MapTypeControlStyle.DROPDOWN_MENU}, NavigationControl:true, NavigationControlOptions:{style:google.maps.NavigationControlStyle.DEFAULT}, scaleControl:true, disableDoubleClickZoom:true, scrollwheel:false, mapTypeId:google.maps.MapTypeId.SATELLITE }; map=new google.maps.Map(document.getElementById("map_canvas"),Options); marker = new google.maps.Marker({position: myLatlng, map: map}); } </script> </head> <body onload="ini_load()"> <div id="map_canvas" style="width: 380px; height: 330px ;"></div> </body> </html>