Use a custom style layer to render custom WebGL content.
Add a canvas source to the map.
Add an icon to the map that was generated at runtime.
Add an animated icon to the map that was generated at runtime with the Canvas API.
Dynamically generate a missing icon at runtime and add it to the map.