87,901
社区成员
发帖
与我相关
我的任务
分享
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>无标题页</title>
</head>
<script type="text/javascript" src ="http://api.map.baidu.com/api?v=1.3"></script>
<script type ="text/javascript">
setTimeout(function(){
var map = new BMap.Map("container"); // 创建地图实例 创建地图实例
var point = new BMap.Point(116.404, 39.915); // 创建点坐标
map.centerAndZoom(point, 15); // 初始化地图,设置中心点坐标和级别 初始化地图,设置中心点坐标和级别
},1000);
</script >
<body>
<form runat="server">
<div id="container" style="width:700px;height:450px"></div>
</form>
</body>
</html>