there is a 2m SVG picture indoor flat map, which needs to be dragged and zoomed in
the previous scheme:
1, pure svg embedding html, uses the transform attribute, resulting in dragging stutter
(this scheme does not add will-change and enable hardware acceleration, it is stupid to hh)
2 drawImage, result drawing is too slow (real-time rendering, drawImage call time is the longest in the flame graph)
3 img src, result CPU is taken up too high, browser jams
are there any points or other options that can be optimized?