Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

不能加载tileset #20

Open
liyihong123456 opened this issue Jan 19, 2022 · 1 comment
Open

不能加载tileset #20

liyihong123456 opened this issue Jan 19, 2022 · 1 comment

Comments

@liyihong123456
Copy link

代码 var tileset = new Cesium.Cesium3DTileset({
url: "Tileset/tileset.json",
});

tileset.readyPromise
.then(function (tileset) {
viewer.scene.primitives.add(tileset);
viewer.zoomTo(
tileset,
new Cesium.HeadingPitchRange(
0.0,
-0.5,
tileset.boundingSphere.radius * 2.0
)
);
})
.otherwise(function (error) {
console.log(error);
});

似乎是vue-cli-plugin-cesium

的问题, 没有保任何异常就是出不来。(其他vue离线加载都出来。)

@whuxxie
Copy link

whuxxie commented May 7, 2022

我去,我也是,点云数据加载不出来,但是b3dm,glb的又没问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants