This allows you to specify that two (or more) canvases should share the same pan/zoom information with panzoom(c2, c1); when you zoom on one, it also zooms on the other(s). The relationship is symmetric. You can also decouple them again with panzoom(c2).
This allows you to specify that two (or more) canvases should share the same pan/zoom information with
panzoom(c2, c1)
; when you zoom on one, it also zooms on the other(s). The relationship is symmetric. You can also decouple them again withpanzoom(c2)
.