I am new to the flyer, looking for advice.
I would like to create an animation of some marker (for example, filled with an html5 arc or form) in order to play GPS tracks on the map. I may need some animated markers, and I want to be flexible in terms of behavior and performance. Can anyone recommend a good way to create this type of animation?
It looks like I could create a canvas layer (L.TileLayer.Canvas) and draw it using a linear animation technique (e.g. http://www.html5canvastutorials.com/advanced/html5-canvas-linear-motion-animation/ ), but I'm still not sure if this works, or I need to call redraw () and how it will work. Or I could try to make client tokens and move them by setting lat / lon on them with some interval.
Can anyone understand this and recommend a solution (above ideas or others)? Ideally, when I zoom in, the animation will "scale" and have good performance. Thanks!
source share