日期:2014-05-16 浏览次数:20415 次
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>群通物流地理信息</title>
</head>
<body>
?<div >
??? <script type="text/javascript" src="http://api.map.baidu.com/api?key=418943a869afd031eff958673666c923&v=1.0&services=true" ></script>
???<div id="container" style="width: 100%;height: 100%;" align="center"></div>
???<script type="text/javascript">
????var map = new BMap.Map("container");??????????? // 创建Map实例
????var point = new BMap.Point(116.30271, 37.457693);??? // 创建点坐标
????map.centerAndZoom(point,11);???????????????????? // 初始化地图,设置中心点坐标和地图级别。
????var opts = {type: BMAP_NAVIGATION_CONTROL_SMALL}
????map.addControl(new BMap.NavigationControl(opts));
???</script>
?? </div>
</body>
</html>