Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用旅行图层可视化旅行数据,并且我试图在每条旅行线的开头放置一个图标。是否可以让多个图标随时间改变位置、出现和消失?
我正在尝试做的示例(红色箭头表示随时间的运动)
只需为数据的位置属性设置动画,确保它是触发重新渲染的状态更改,然后再将其提供给图层。您还可以将不透明度放入数据中并对其进行动画处理。