@(笔记)[立得空间]案例:https://github.com/lhywell/map/tree/master/example/example7
申请立得空间密钥,申请请跳转链接
-
JavaScript API http://dev.ishowchina.com/map/overview_js.html
-
WEB 服务API http://dev.ishowchina.com/mapservice/overview.html
http://demo.ishowchina.com/#core/map
<!DOCTYPE html>
<html>
<head>
<title>地图API-范例-基础地图展示</title>
<meta charset="UTF-8" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta tabindex="">
<link rel="stylesheet" type="text/css" href="http://demo.ishowchina.com/apidemos/sourceLinks/style.css" />
<script type="text/javascript" src="http://api.ishowchina.com/v4/webapi/js/auth?v=3.8.1&t=jsmap&ak=您申请的key"></script>
</head>
<body>
<div id="map" class="map_contaner"></div>
<script type="text/javascript">
var map;
function initMap(){
map=new IMAP.Map("map", {
minZoom:4,//最小地图级别
maxZoom:18,//最大地图级别
zoom:12,//初始化级别
center:new IMAP.LngLat(116.40976,39.90131)//中心点坐标
});
}
initMap();
</script>
</body>
</html>
上一页:腾讯地图
下一页:世纪高通