基于openlayer的原生轨迹动画
v1利用原生requestAnimationFrame函数,利用ol自带的getCoordinateAt获取每个step的坐标,然后更新小车当前位置,并且push轨迹路线 v2利用turf的LineSliceAlong对轨迹进行增密,然后利用requestAnimationFrame绘制每一帧动画