@@ -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) |