1 Star 0 Fork 24

Sadig/mapTool

forked from 酸奶小妹GIS/mapTool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
map.html 774 Bytes
一键复制 编辑 原始数据 按行查看 历史
buxianglong 提交于 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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/sadig41/mapTool.git
git@gitee.com:sadig41/mapTool.git
sadig41
mapTool
mapTool
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385