<div id="cesiumContainer" class="fullSize"></div>
<div id="loadingOverlay"><h1>Loading...</h1></div>
<div id="toolbar">
<video id="video"style="display: none" muted autoplay loop crossorigin controls>
<source src="123.mp4" type="video/mp4">
</video>
<button οnclick="Both()">Classify Both</button>
<button οnclick="Tiles()">Classify 3D Tiles</button>
</div>
</body>
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({url: '白膜地址',
maximumScreenSpaceError: 2, //最大屏幕空间误差
maximumNumberOfLoadedTiles: 1000 //最大加载瓦片个数
}));
tileset.readyPromise.then(function(tileset) {
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset, ne