| | |
| | | const color = |
| | | global.DC.Namespace.Cesium.Color.fromCssColorString('#409EFF') |
| | | window.polylinematerialdaohang = new global.DC.PolylineTrailMaterialProperty({ |
| | | color: color, |
| | | speed: 10 |
| | | // color: color, |
| | | // speed: 10 |
| | | color: global.DC.Namespace.Cesium.Color.fromBytes(10, 255, 10), |
| | | speed: 60, |
| | | image: '/img/icon/right.png', |
| | | repeat: { |
| | | x: 320, |
| | | y: 1 |
| | | } |
| | | }) |
| | | window.drawALineLayer = new global.DC.VectorLayer('lineLayer') |
| | | global.viewer.addLayer(window.drawALineLayer) |
| | |
| | | // speed: 10 |
| | | // }) |
| | | window.drawALineLayerManyStyle = new global.DC.PolylineImageTrailMaterialProperty({ |
| | | color: window.drawALineLayerManycolor, |
| | | // color: window.drawALineLayerManycolor, |
| | | // speed: 60, |
| | | // image: 'img/icon/right.png', |
| | | // repeat: { |
| | | // x: 320, |
| | | // y: 1 |
| | | // } |
| | | color: global.DC.Namespace.Cesium.Color.fromBytes(10, 255, 10), |
| | | speed: 60, |
| | | image: 'img/icon/right.png', |
| | | image: '/img/icon/right.png', |
| | | repeat: { |
| | | x: 320, |
| | | y: 1 |