首页 / 浏览问题 / WebGIS / 问题详情
超图FAQ:客户使用iServer转发ArcGIS Rest Map服务,并使用iClient for mapboxgl访问,如何控制其中子图层的显示/隐藏?
64,468EXP 2025年09月22日
客户使用iServer转发ArcGIS Rest Map服务,并使用iClient for mapboxgl访问,如何控制其中子图层的显示/隐藏?

1个回答

【解决办法】可以通过layersid过滤,具体参考以下代码实现"sources": { "raster-tiles": { "attribution": attribution, "type": "raster", "tiles": ['http://localhost:8090/iserver/services/map-arcgis-2035zg_57/rest/maps/%E5%9B%BE%E5%B1%8257/zxyTileImage.png?z={z}&x={x}&y={y}&layersID=[5]'], "tileSize": 256 }
64,468EXP 2025年09月22日
热门文章
关注我们
...