首页 / 浏览问题 / 其他 / 问题详情
wmts100 服务图片无法显示
3EXP 2021年01月14日
/wmts100/cgfg/default/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png

按照路径天下 无法访问图片,我是访问错了么

<TileMatrixSet>GoogleMapsCompatible_cgfg</TileMatrixSet>
<TileMatrixSetLimits>
<TileMatrixLimits>
<TileMatrix>GoogleMapsCompatible:0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>0</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>GoogleMapsCompatible:1</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>

/wmts100/cgfg/default/GoogleMapsCompatible_cgfg/0/0/0.png

2 个回答

您好,这是一个加载wmts服务的在线范例:https://iclient.supermap.io/examples/leaflet/editor.html#WMTSLayer 运行后打开f12,进入network查看图片请求,对比一下你那边服务获取图片请求的写法是否正确

1,686EXP 2021年01月14日

你好,请问你发的是谷歌地图的服务吗?我这边用我们iserver示例的wmts100的服务这样去访问是没问题,http://localhost:8090/iserver/services/map-world/wmts100/World+Map/default/GlobalCRS84Scale_World+Map/2/0/0.png

参考帮助文档关于“GetTile 请求”模块

3,740EXP 2021年01月14日
...