We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码
const { setPath, start, cancel, stop, proceed, status } = useTrackAnimation(map, { duration: 30000, delay: 300, // >0 tilt: 55, overallView: true, zoom: 14, }) watch(status, (newVal, oldVal) => { // 不会调用 console.log(oldVal ,'->', newVal) })
错误提示
useTrackAnimation.js:40 Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener') at useTrackAnimation.js:40:35
原因 instance.start() 之后, 会延迟 options.delay 之后初始化 instance._viewAni
The text was updated successfully, but these errors were encountered:
确实存在这个问题,下个patch版本修复
Sorry, something went wrong.
fix: 轨迹动画延迟执行状态更新不正确 #55
2a3ab9a
4250a82
No branches or pull requests
代码
错误提示
原因
instance.start() 之后, 会延迟 options.delay 之后初始化 instance._viewAni
The text was updated successfully, but these errors were encountered: