DAG
DAG

Reputation: 2630

Exclude element from zooming using SvgPanZoom

I have an SVG and in it a lot of elements. I also have a popup element which is shown on an element click. When I zoom the SVG the popup should not be zoomed. How can I prevent this popup from being zoomed with the SVG?

Upvotes: 0

Views: 245

Answers (1)

bumbu
bumbu

Reputation: 1317

See this demo. Basically you can zoom only one SVG group while keeping others static.

Upvotes: 1

Related Questions