I have implemented zooming from the mouse button, and would like to be able to execute it from a button click instead.
I read the following in one of the Simile pages:
How to zoom programmatically:
// Zoom in:
Timeline.getBand(0).zoom(true); // true zooms in, false zooms out
// You might want to repaint after
Timeline.getBand(0).paint();
and naively thought I could put this code behind 2 buttons and away we go. But no!
Can anyone point me in the right direction for this, please?
TIA
Andrew McGurk