Score
0
Watch 25 Star 38 Fork 17

酸奶小妹GIS / mapToolPHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Clone or download
map.html 774 Bytes
Copy Edit Web IDE Raw Blame History
buxianglong authored 2014-07-21 10:30 . init
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<title>地图</title>
<style>
body,html{padding:0;margin:0;width:100%;height:100%;}
#map{height:100%;width:100%;}
</style>
<script language="javascript" src="http://webapi.amap.com/maps?v=1.3&key=3f708a72e74e79b70fe3ed0d29824af8"></script>
</head>
<body>
<div id="map" class="clearfix"></div>
</body>
<script language="javascript">
//初始化地图对象,加载地图
function mapInit(){
var mapObj = new AMap.Map("map",{
resizeEnable: true,
center: new AMap.LngLat(116.38298,39.955543), //地图中心点
level:12 //地图显示的比例尺级别
});
}
mapInit();
</script>
</html>

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/catalina/mapTool.git
git@gitee.com:catalina/mapTool.git
catalina
mapTool
mapTool
master

Help Search