<!--StartFragment -->
请问我现在想做四视口分屏,想给每个视口分别加载数据,代码如下,为什么就是不能加载呢?
var dataSourcePromise = window.Cesium.CzmlDataSource.load(data);
// dataSourcePromise.name = 'myGeoCheckDS'+value;
// let templayer = pCesiumFun.dsFindbyname(dataSourcePromise.name);
viewer.dataSources.add(dataSourcePromise);
let templayer= viewer.dataSources.get(viewer.dataSources.length-1)
templayer.setVisibleInViewport(value, true);
console.log(viewer.dataSources);