as shown in the picture, draw a picture with canvas.
now add an arrow icon / pedestrian icon to the diagram. The icon can be changed in different colors (red, yellow, green and gray)
consult the implementation plan
the method that comes to mind so far..
- still draw in pure canvas.
- make png, of all icons and colors with
drawImage
and draw them - Iconfont?
add:
the base map uses canvas because the intersection can be generated dynamically, and several of them can be selected at random in 8 directions,
and each direction can have different configuration parameters