P
P
Pavel2015-11-19 00:14:05
SVG
Pavel, 2015-11-19 00:14:05

How does SVG render on mobile devices?

I ran into a problem that a large number of elements in an SVG file significantly reduces the performance of working with this data (zoom, finger movement).
Usually, not the whole SVG image is shown at once on the phone screen, and when it is shown, the detail is not so important - everything is still small. But browsers on iOs, Android do not think so - they calculate the entire SVG, regardless of the detail or the visible part of the screen.
1) Are there methods or flags that would turn off the rendering of what is outside the screen?
2) Is it possible to "unload from memory" on the go? Then, depending on the conditions, you can "turn off" parts of the SVG, and then turn it on when you increase the zoom or move it somewhere relative to the screen.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question