| | |
| | | form:{}, |
| | | deviceData:null, |
| | | activeName: 'first', |
| | | totalDistance: 3054.9, |
| | | totalTime: '5m 56s', |
| | | totalPoints: 11, |
| | | totalPhotos: 3, |
| | | waypoints:[], |
| | | selectedIndex:null, |
| | | chooseItem: null, |
| | |
| | | Cesium.Matrix4.inverseTransformation(transform, new Cesium.Matrix4()), |
| | | direction, |
| | | new Cesium.Cartesian3() |
| | | ); |
| | | ); |
| | | Cesium.Cartesian3.normalize(directionLocal, directionLocal); |
| | | return Math.asin(directionLocal.z); // z轴向上 |
| | | }, |
| | |
| | | const groundA = result[i]; |
| | | const raisedA = { |
| | | id: this.generateId(), |
| | | label: groundA.label+ "-加高111", |
| | | label: groundA.label+ "-加高", |
| | | longitude: groundA.longitude, |
| | | latitude: groundA.latitude, |
| | | height: groundA.height, |
| | |
| | | { |
| | | ...pointA, |
| | | id: this.generateId(), |
| | | label: pointA.label + "-加高2222", |
| | | height: pointA.height + 50, |
| | | label: pointA.label + "-加高", |
| | | // height: pointA.height + 50, |
| | | height: pointA.height + (towerHeight - pointA.height + 20), |
| | | actions:[] |
| | | } |
| | | ] |
| | |
| | | { |
| | | ...pointB, |
| | | id: this.generateId(), |
| | | label: pointB.label + "-加高3333", |
| | | height: pointB.height + 50, |
| | | label: pointB.label + "-加高", |
| | | height: pointB.height + (towerHeight - pointB.height + 20), |
| | | actions:[] |
| | | } |
| | | ] |
| | |
| | | height: 36px; |
| | | line-height: 36x; |
| | | transition: transform 0.2s; |
| | | font-size: 24px; |
| | | font-size: 22px; |
| | | |
| | | } |
| | | |
| | | |
| | | .waypoint-header .waypoint-index { |
| | | font-size: 24px; |
| | | font-size: 22x; |
| | | } |
| | | .rotated { |
| | | transform: rotate(-90deg); |