首页 / 浏览问题 / 三维GIS / 问题详情
三维场景中能对二维地图服务的子图层进行控制吗?
256EXP 2020年02月13日
通过下面这个这个接口将iserver上的地图服务加载到场景中,请问在场景中能否对地图服务中的子图层做显隐控制?

new Cesium.SuperMapImageryProvider(options)

1个回答

可以参考classic的子图层控制,webgl中集成的classic的包

https://iclient.supermap.io/examples/classic/editor.html#others_setlayerstatus

2,701EXP 2020年02月13日
这个我知道,但这是这个子图层控制针对的是iclassic里的

new SuperMap.Layer.TiledDynamicRESTLayer 图层

没法对webgl里的 viewer.imageryLayers.addImageryProvider(provider); 图层起作用好不好!!!
...