加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

超图IClient for Flex加载天地图经纬度地图

发布时间:2020-12-15 03:51:38 所属栏目:百科 来源:网络整理
导读:使用IClient的TiledWMTSLayer类可以直接加载天地图的地图,需要设置的是 requestEncoding ? 请求编码方法 layerName ? ? ? ? ? ? ? 图层名 tileMatrixSet ? ? ? ? ? ?切片矩阵识别标记 style ? ? ? ? ? ? ? ? ? ? ? ? ?样式 format ? ? ? ? ? ? ? ? ? ? ? 格

使用IClient的TiledWMTSLayer类可以直接加载天地图的地图,需要设置的是

requestEncoding ? 请求编码方法

layerName ? ? ? ? ? ? ? 图层名

tileMatrixSet ? ? ? ? ? ?切片矩阵识别标记

style ? ? ? ? ? ? ? ? ? ? ? ? ?样式

format ? ? ? ? ? ? ? ? ? ? ? 格式

wellKnownScaleSet ??

tileMatrixIdentifiers 切片矩阵识别数组

resolutions ? ? ? ? ? ? 分辨率

可以输入?http://t0.tianditu.com/vec_c/wmts?request=GetCapabilities&service=wmts 查看上述参数,详情见图


具体如下:

<ic:TiledWMTSLayer id="tdtsldt" url="http://t0.tianditu.com/vec_c/wmts" requestEncoding="{RequestEncoding.KVP}"

tileMatrixIdentifiers="{['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16']}"
layerName="vec" tileMatrixSet="c" style="default" format="tiles" wellKnownScaleSet="chinaWmtsScales"
resolutions="{[
0.703125,
0.3515625,
0.17578125,
0.087890625,
0.043945313,
0.021972656,
0.010986328,
0.005493164,
0.002746582,
0.001373291,
0.000686646,
0.000343323,
0.000171661,
8.58307E-05,
4.29153E-05,
0.000021457672119140645

]}"/>

需要注意的是 tileMatrixIdentifiers 和 resolutions ? 数据里的值是一一对应的。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读