Cesium实战系列文章总目录
:
传送门
1.实现效果
2.实现方法
// 添加高德路网中文注记图
atLayer = new Cesium.UrlTemplateImageryProvider({
url: "http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8",
minimumLevel: 3,
maximumLevel: 18
})
3.高德在线地图介绍
高德在线地图的瓦片地址及规律:
变量 | 说明 |
---|---|
lang | 显示语言,zh_cn:中文,en:英文 |
scl | 设置标注还是底图,1表示标注,2表示底图 |
style | 地图类型控制,6卫星(st),7简图(st rd),8详图(不透明rd,透明st) |
常用的高德在线地图网址:
// 1.影像图
https://webst01.is.autonavi.com/appmaptile?x=54658&y=26799&z=16&style=6
// 2.道路纯图
https://wprd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x=54658&y=26799&z=16&scl=1<ype=2
// 3.道路简图
http://webrd01.is.autonavi.com/appmaptile?x=54658&y=26799&z=16&size=1&scale=1&style=7
// 4.道路详图
http://webrd01.is.autonavi.com/appmaptile?x=54658&y=26799&z=16&lang=zh_cn&size=1&scale=1&style=8
// 5.纯道路图
http://wprd01.is.autonavi.com/appmaptile?x=54658&y=26799&z=16&lang=zh_cn&size=1&scl=1&style=8<ype=11
// 6.纯地标图
https://wprd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=8&x=54658&y=26799&z=16&scl=1<ype=4
// 7.路网注记图
http://webst01.is.autonavi.com/appmaptile?x=54658&y=26799&z=16&lang=zh_cn&size=1&scale=1&style=8