This example keeps an SVG with SMIL animation hidden under the map, snapshots each frame into a canvas, and feeds it into a MapLibre StyleImageInterface. Use this pattern when you need a pulsing/glowing marker that’s authored entirely in SVG.
registerSVGProtocol; animation happens via a custom helper.map.addImage().