网站地址:http://jstopo.top/coal/ 采用高德地图的json数据。动画需要requestAnimateFrame();然后用clearRect清除之前画布。再重新绘制新的数据。 先预加载图标信息,储存到全局变量。 定义一个绘制的function drawMoveFrame();