# Tiles3DFlat
3dTiles 模型压平及裁切
let buildingTileSet = viewer.scene.primitives.add(
new Cesium.Cesium3DTileset({
url: "http://172.16.67.34:8066/ime-cloud/rest/swj_noerr/3dtiles/tileset.json",
})
);
buildingTileSet.readyPromise.then((tileSet) => {
viewer.zoomTo(tileSet);
});
let targets = [];
targets.push(buildingTileSet);
tiles3DFlat = new GeowayGlobe.Tiles3DFlat({ viewer, targets });
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# Tiles3DFlat options 构造属性
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
type | 绘制的类型如点线面等 | String | |
targets | TileSet 的集合 | Object | {} |