# Zoom and pan in the vision client

**URL:** <https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411>\
**Category:** Ignition\
**Created:** [October 11, 2011, 4:35pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411 "2011-10-11T16:35:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [October 11, 2011, 4:35pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/1 "2011-10-11T16:35:42Z")

</div>

7.4?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 11, 2011, 5:00pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/2 "2011-10-11T17:00:17Z")

</div>

No definite plans, although we do know people want it.

There are some real difficult technical barriers that have to do with Swing input components and zooming that we haven’t figured out how to work around.

---

<div class="post-metadata">

**Author:** ![jkirchman](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkirchman](https://forum.inductiveautomation.com/u/jkirchman)\
**Post date:** [August 8, 2018, 3:46pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/3 "2018-08-08T15:46:53Z")

</div>

I realize its been a while since the was originally posted, but are there any plans in the future to add zoom and pan ability? Maybe in the Template Canvas or part of Perspective? Would be very useful.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 8, 2018, 5:33pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/4 "2018-08-08T17:33:07Z")

</div>

It might end up being possible in Perspective because browsers know how to zoom, but I doubt this will ever happen in Vision.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 8, 2018, 5:46pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/5 "2018-08-08T17:46:42Z")

</div>

I’ve been poking around with a pan & zoomable subclass of BasicContainer – doesn’t work yet, and the designer interface is clunky, but I expect it be fully functional. Everything within it will have to use anchored layout, though. Relative layout in a zoomable view makes my head hurt.

---

<div class="post-metadata">

**Author:** ![jkirchman](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkirchman](https://forum.inductiveautomation.com/u/jkirchman)\
**Post date:** [August 8, 2018, 6:13pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/6 "2018-08-08T18:13:30Z")

</div>

Sounds interesting! We used a template canvas and modified the width/height/position values of the canvas dataset to give the effect of a 2x/4x/8x zoom on a button click. We used the scroll bars on the container and mouse movement for panning. Would much rather have a smooth zoom. Good luck on your project.

---

<div class="post-metadata">

**Author:** ![nate.barlow](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@nate.barlow](https://forum.inductiveautomation.com/u/nate.barlow)\
**Post date:** [January 15, 2021, 11:58pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/7 "2021-01-15T23:58:49Z")

</div>

Has anything changed in the last 2 years? The only complaint I have with Ignition is that it always takes me a few clicks to remember ignition can’t grab and pan the screen. It would be incredible to middle click and pan like you can do in AI, Autocad, Bluebeam, SW and other programs.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 16, 2021, 5:06pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/8 "2021-01-16T17:06:56Z")

</div>

No, I ran into an unfortunate API limitation due to the Designer Nav Tree’s assumptions about the hierarchy of Swing components. Only the BasicContainer class can contain other designable components, and those designable components are enumerated in the designer with Swing’s own getComponents() methods. Designable content enumeration should have been a dedicated interface for the Nav Tree, IMNSHO, as the re-used interface interferes with any type of layered (scrollable/zoomable) container.

In my investigations, I instrumented calls to the various getComponent\*() methods to identify the callers, and then confirmed that a layered container was _possible_ by **lying** to various calls from the Nav Tree’s utility functions. Too fragile and too slow (getting tracebacks on every getComponent call) to deploy anything for real.

IA would have to factor out all relevant designer calls to getComponent\*() into something like getVisionComponents\*() so that a subclass of BasicContainer could override those. Someone else would have to create and vote on a suitable entry at [ideas.inductiveautomation.com](http://ideas.inductiveautomation.com) as I cannot log into that site.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [January 17, 2021, 5:49pm UTC](https://forum.inductiveautomation.com/t/zoom-and-pan-in-the-vision-client/3411/9 "2021-01-17T17:49:18Z")

</div>

I hope it finally happens in perspective module with a special container
