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

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/simile-widgets/-/jj7kIgfmpyAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to