I would need advice :) I'am using library svg-pan-zoom (https://github.com/ariutta/svg-pan-zoom) in javascript. I have big technical diagram in SVG.. and my goal is zoom at specific element containing attr "id". I would like have that element in center of window...
In a link/image below it is possible to see how page looks after load...
(https://i.stack.imgur.com/YhTTZ.png)
I tried many different ways but without success... I was not able to achieve the desired result.
Please it would be possible to provide me function for zoom at specific element (to have that element in center of window )
Many many thanks.