人员轨迹修改显示涂层
							parent
							
								
									962b9ec6d0
								
							
						
					
					
						commit
						19bc35c01f
					
				|  | @ -1481,7 +1481,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 } |             polyline: { positions, width: 5.0, material: Cesium.Color.RED, clampToGround: true } | ||||||
|           }) |           }) | ||||||
|           const collection = new Cesium.CustomDataSource('trajectoryEntityCollection') |           const collection = new Cesium.CustomDataSource('trajectoryEntityCollection') | ||||||
|           collection.entities.add(entity) |           collection.entities.add(entity) | ||||||
|  | @ -1734,6 +1734,9 @@ 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) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue