Browse Source

轨迹定位点相对数据更改

tags/v1.0.0^2
余菲 2 years ago
parent
commit
b190936f45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/task-manage/all-task/components/DemandDrawer.vue

+ 1
- 1
src/views/task-manage/all-task/components/DemandDrawer.vue View File

@@ -386,7 +386,7 @@ export default defineComponent({
vectorLayer.on('postrender', moveFeature.bind())
function moveFeature(event) {
/* 计算飞行的百分比 */
const percent = data.videoInfo.currentTime / data.videoInfo.duration
const percent = data.videoInfo.origin.currentTime / data.videoInfo.origin.duration
const currentCoordinate = route.getCoordinateAt(percent)
position.setCoordinates(currentCoordinate)
geoMarker.setGeometry(null)

Loading…
Cancel
Save