同一份数据通过s3m1.0或2.0生成文件并发布三维服务,在前端加载正常,但是s3m3.0格式的加载无反应
相关代码如下:
var sanweiLayer = window.viewer.scene.addS3MTilesLayerByScp(item.URL, {
name: item.SOURCEINFO,
});
var objLayer = { id: item.ID, name: item.NAME, layer: sanweiLayer };
this.$store.state.rzLayer.push(objLayer);
window.viewer.flyTo(sanweiLayer);
this.$set(item, "LAYER3D", sanweiLayer);
this.$store.state.sanWeiTCM[item.ID] = item.SOURCEINFO;
this.$set(item, "TMD", 100);
this.$set(item, "SLIDER", false);
this.$set(item, "ISSHOW", true);
this.$set(item, "E", event.target);
this.$store.state.sanWeiAddLayerList.unshift(item);
因为是同一数据,所以出了item.NAME不同,item.URL和item.SOURCEINFO均相同
难道是addS3MTilesLayerByScp不支持s3m3.0?