Skip to content
New issue

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

marker有设置文字的情况下,动画过场发现文字抖动 #1211

Closed
MaJiaXuan opened this issue Sep 3, 2020 · 2 comments
Closed

Comments

@MaJiaXuan
Copy link

maptalks's version and what browser you use?

"maptalks": "^0.48.0",

Issue description

marker有设置文字的情况下,动画过场发现文字抖动

Please provide a reproduction URL (on any jsfiddle like site)

https://codepen.io/majiaxuan/pen/PoNJXwY

@MaJiaXuan
Copy link
Author

MaJiaXuan commented Sep 3, 2020

test
image

https://codepen.io/majiaxuan/pen/JjXrQPb?editors=0010
1.发现动画过场改变 symbol.markerFile 会显示消失一段时间,然后等动画结束了,才把改变的 markerFile 显示在地图上
2.既然是动画,那么文字颜色在过程中,没有渐变过来的效果?

@MaJiaXuan
Copy link
Author

问题3
动画过程中,改变 markerPath 会浏览器报错
image

例子https://codepen.io/majiaxuan/pen/XWdeoOy?editors=0011
打开控制台可以看到报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant