Author:CSDN @ _乐多_
Westworld loads the GLB model and draws points.
Article directory
1. Draw points
// var Position = Cesium.Cartesian3.fromDegrees(
// 109.54993916915929,
// 39.364256387739836,
// 0.0
// );
// var viewer = uia.earth.czm.viewer;
// // console.log('viewer', viewer)
// let entity = new Cesium.Entity({
// name: 'test',
// show: true,
// position: Position,
// point: {
// ...this.pointOption,
// clampToGround: true
// }
// });
// viewer.entities.add(entity);
// viewer.zoomTo(entity);
// viewer.scene.camera.flyTo;
2. Load the glb model
// var Model = new XE.Obj.Model(this.$root.$earth);
// Model.url = "./Apps/测试.glb";
// Model.xbsjPosition = [1.8871811041962123, 0.6828932731188716, 1000];
// Model.name = "模型";
// Model.scale = 1;
// Model.flyTo();
Statement:
As an author, I attach great importance to my own works and intellectual property rights. I hereby declare that all my original articles are protected by copyright law and no one may publish them publicly without my authorization.
My articles have been published on some well-known platforms for a fee. I hope that readers can respect intellectual property rights and refrain from infringement. Any act of publishing paid articles on the Internet for free or for a fee (including commercial use) without my authorization will be regarded as infringement of my copyright, and I reserve the right to pursue legal liability.
Thank you readers for your attention and support for my article!