Compare commits

..

No commits in common. "674b93b811f987f60eaf53a864fb89487fd9933e" and "c1fa9e1be0f3eb1da7d78897128e6139d2290752" have entirely different histories.

1 changed files with 1 additions and 4 deletions

View File

@ -1235,7 +1235,7 @@ export default {
} }
const entity = new Cesium.Entity({ const entity = new Cesium.Entity({
id: 'trajectory', id: 'trajectory',
polyline: { positions, width: 5.0, material: Cesium.Color.RED , clampToGround:true } polyline: { positions, width: 5.0, material: Cesium.Color.RED }
}) })
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection') const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
collection.entities.add(entity) collection.entities.add(entity)
@ -1473,9 +1473,6 @@ export default {
cluster.billboard.show = true cluster.billboard.show = true
cluster.billboard.id = cluster.label.id cluster.billboard.id = cluster.label.id
cluster.billboard.verticalOrigin = Cesium.VerticalOrigin.BOTTOM cluster.billboard.verticalOrigin = Cesium.VerticalOrigin.BOTTOM
cluster.billboard.horizontalOrigin = Cesium.HorizontalOrigin.CENTER
cluster.billboard.heightReference = Cesium.HeightReference.CLAMP_TO_GROUND
cluster.billboard.disableDepthTestDistance = Number.POSITIVE_INFINITY
if (clusteredEntities.length >= 100) { if (clusteredEntities.length >= 100) {
cluster.billboard.image = pin100 cluster.billboard.image = pin100
} else if (clusteredEntities.length >= 50) { } else if (clusteredEntities.length >= 50) {