# Zoom and moving images

**URL:** <https://forum.inductiveautomation.com/t/zoom-and-moving-images/3555>\
**Category:** Ignition\
**Created:** [November 4, 2011, 8:10am UTC](https://forum.inductiveautomation.com/t/zoom-and-moving-images/3555 "2011-11-04T08:10:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamJaimes](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@SamJaimes](https://forum.inductiveautomation.com/u/SamJaimes)\
**Post date:** [November 4, 2011, 8:10am UTC](https://forum.inductiveautomation.com/t/zoom-and-moving-images/3555/1 "2011-11-04T08:10:07Z")

</div>

Hello!

Is it possible to make zoom and move an image in Ignition as if were a google map?

---

<div class="post-metadata">

**Author:** ![Greg.Buehler](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Greg.Buehler](https://forum.inductiveautomation.com/u/Greg.Buehler)\
**Post date:** [November 4, 2011, 1:52pm UTC](https://forum.inductiveautomation.com/t/zoom-and-moving-images/3555/2 "2011-11-04T13:52:48Z")

</div>

[quote=“SamJaimes”]Hello!

Is it possible to make zoom and move an image in Ignition as if were a google map?[/quote]

Yes, but it’s kind of a pain. Assuming you can play with the parameters in the image path you’ll need dynamic properties for X and Y and maybe some calculated values. Use the mousePressed event in scripting to capture the beginning value and the mouseReleased event to capture the ending value. Apply the delta to transform your datasource.

---

<div class="post-metadata">

**Author:** ![SamJaimes](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@SamJaimes](https://forum.inductiveautomation.com/u/SamJaimes)\
**Post date:** [November 7, 2011, 8:38am UTC](https://forum.inductiveautomation.com/t/zoom-and-moving-images/3555/3 "2011-11-07T08:38:23Z")

</div>

Thanks a lot!

I found some functions in system.gui that let me move or resize components
