您好,我们这里是一个二维图层作为Cesium底图是吗,加载部分图层的用法和二维类似;
下面是示例代码, 希望能帮助到您
var imageryLayers = viewer.imageryLayers;
//利用服务url创建SuperMapImageryProvider实例
var provider_mec = new Cesium.SuperMapImageryProvider({
url:'http://localhost:8090/iserver/services/map-nanning/rest/maps/2d@nanning',
layersID:["cfe678d402de429a8751928c183a2d7b_ed7b8860e635462da8b4e00ea34c0aa5"]
});
imageryLayers.addImageryProvider(provider_mec);