| | |
| | | |
| | | if (item.showModel) { |
| | | window.$viewer.flyToPosition("115.10587903,27.28374884,400,0,-90", () => { |
| | | track.setModel(VITE_APP_BASE + 'gltf/111.gltf', { |
| | | show: true, |
| | | scale: 0.005, |
| | | color: DC.Color.RED, |
| | | // nodeTransformations: { |
| | | // rotation: window.$Cesium.Quaternion.fromHeadingPitchRoll(window.$Cesium.Math.toRadians(0), window.$Cesium.Math.toRadians(0), window.$Cesium.Math.toRadians(0)), |
| | | // } |
| | | }) |
| | | |
| | | tc.play() |
| | | tc.viewTrack(track, { |
| | | mode: '2', |
| | |
| | | timeFour && (clearTimeout(timeFour), timeFour = null) |
| | | timeFive && (clearTimeout(timeFive), timeFive = null) |
| | | |
| | | track.setModel(VITE_APP_BASE + 'gltf/111.gltf', { |
| | | show: false, |
| | | scale: 0.005, |
| | | color: DC.Color.RED, |
| | | // nodeTransformations: { |
| | | // rotation: window.$Cesium.Quaternion.fromHeadingPitchRoll(window.$Cesium.Math.toRadians(0), window.$Cesium.Math.toRadians(0), window.$Cesium.Math.toRadians(0)), |
| | | // } |
| | | }) |
| | | |
| | | dynamicVectorLayer.clear() |
| | | dynamicHtmlLayer.clear() |
| | | dynamicLineVectorLayer.clear() |