Example 4: Animating and zooming with overlays, plus capturing the scene
Here we add animation and zooming, with no special effect or styling for the
controls. Also, we have not "preserved" the labels at the bottom of the
images (see example 2 regarding the "imamge_preserver" parameter).
We have added the show control to allow the scene to be captured
and displayed in a separate tab (or window).
The config file is this:
image_base=http://www.ssec.wisc.edu/hanis/examples/
file_of_filenames=./fof4.txt
background_static=f
controls = startstop, zoom, refresh, show, overlay
overlay_labels=map, temperature, streamlines
controls_style = padding:5px;background-color:green;
overlay_labels_style=font-family:arial;color:white;font-size:14px;padding:2px;background-color:green;
overlay_tooltip = Show map, Show temperature values, Draw streamlines
And the 'file_of_filenames' contains these lines:
TIR1.GIF overlay=TMAP.GIF, TSFC1.GIF, TSTR1.GIF
TIR2.GIF overlay=TMAP.GIF, TSFC2.GIF, TSTR1.GIF
TIR3.GIF overlay=TMAP.GIF, TSFC3.GIF, TSTR1.GIF
TIR4.GIF overlay=TMAP.GIF, TSFC4.GIF, TSTR1.GIF