//在超图webgl加载地形代码,
viewer.terrainProvider = new Cesium.CesiumTerrainProvider({
url: 'http://192.168.1.101/nginx/dx/',
isSct: false,//地形服务源自SuperMap iServer发布时需设置isSct为true
})
//测试在原生cesium中加载地形数据表现正常
let terrainProvider = new Cesium.CesiumTerrainProvider({
url: 'http://192.168.1.101/nginx/dx'
})
viewer.terrainProvider = terrainProvider