将tif格式的二维平面图发布成地图服务后,怎么用cesium加载到天地图底图上啊,使用
SuperMapImageryProvider方法无效
const viewer = new Cesium.Viewer('cesium')
let layers = viewer.imageryLayers
const tianditu = new Cesium.TiandituImageryProvider({
url: 'http://t0.tianditu.gov.cn/img_c/wmts?tk=xxx',
mapStyle: Cesium.TiandituMapsStyle.CIA_C
})
layers.addImageryProvider(tianditu)
const zs = new Cesium.SuperMapImageryProvider({
url: 'xxx/iserver/services/map-zhengshe0926-2/rest/maps/resultzhengshe0926'
})
layers.addImageryProvider(zs)
viewer.flyTo(zs)