使用产品:iserver 8c 810 操作系统:win10 x64
数据类型: gltf 经纬度数组
问题详细描述:单个点位可以显示模型,当定位改为数组时不显示模型,请问当加载gltf模型是不支持数组定位吗?模型是一段管道
//叠加模型
addGltf(){
viewer.entities.add({
name: "gltf",
/*position: new Cesium.Cartesian3.fromDegrees(
Number(117.03392029),
Number(31.82579435),
Number(0.8)
),*/
position: new Cesium.Cartesian3.fromDegreesArray([
117.03392029,31.82579435,
117.03392029,31.81952246,
117.04456329,31.81835555,
117.06001282,31.81252077,
117.06069946,31.80260081,
117.09262848,31.78742704,
117.09640503,31.77750438,
117.10567474,31.76787255,
117.12421417,31.76291031
]),
model: {
uri: '../../../static/model/1.gltf',
scale: 1.0, // 缩放比例
minimumPixelSize: 128,
maximumScale: 20000
}
});
},