Zoom and moving images

Hello!

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

[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.

Thanks a lot!

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