I have the exact same issue, that the visibility state of the layers when modified via JS does seem to get lost, when you zoom the pdf.
It would be great to have a default option that stores the visibility settings of a document when saved and not default back to the default options of the layer.
I have the exact same issue, that the visibility state of the layers when modified via JS does seem to get lost, when you zoom the pdf.
It would be great to have a default option that stores the visibility settings of a document when saved and not default back to the default options of the layer.