vue版本【 "@supermap/vue-iclient3d-webgl": "1.0.9",】中几何线和几何点均不能贴模型(s3m),几何面可以贴(s3m)
代码如下:
_this.viewer.entities.add({
polyline: {
positions:[
Cesium.Cartesian3.fromDegrees(regionpoints[0].Longitude,regionpoints[0].Latitude,regionpoints[0].Altitude),
Cesium.Cartesian3.fromDegrees(regionpoints[1].Longitude,regionpoints[1].Latitude,regionpoints[1].Altitude),
Cesium.Cartesian3.fromDegrees(regionpoints[2].Longitude,regionpoints[2].Latitude,regionpoints[2].Altitude)
],//位置
material: new Cesium.Color(1,1,0,1),
width: 20,
},
clampToS3M:true,
classificationType: Cesium.ClassificationType.S3M_TILE
});