Adding a new format option monospaced}}gif_disposal{{monospaced for the WMS Animator. Through this option it can be specified what to do with the previous GIF frame once a new frame is displayed. Valid values are monospaced}}none{{monospaced , monospaced}}doNotDispose{{monospaced , monospaced}}backgroundColor{{monospaced and monospaced}}previous{{monospaced . The default value is monospaced}}none{{monospaced . Before, this disposal method (none) was set statically for animated gifs. Using this method, gif animations don’t hide their previous frames. In other words, new frames were just rendered on top of the previous frames. With the newly added monospaced}}gif_disposal{{monospaced option, for example it is possible to hide all previous frames by changing the disposal method to monospaced}}backgroundColor{{monospaced .
All four valid option values are also listed and described in the GIF specification (23. C IV Disposal Method).
The option monospaced}}gif_disposal{{monospaced can be used like the other two format options parameter monospaced}}gif_loop_continuously{{monospaced and monospaced}}gif_frames_delay{{monospaced .
Example usage:
http://localhost:8080/geoserver/wms/animate?layers=topp:states,sf:restricted&format=image/gif;subtype=animated&aparam=bbox
&avalues=-180,-90,180,90,-125,25,-67,50&format_options=gif_loop_continuosly:true;gif_disposal:backgroundColor&width=640
Mailing list:
http://sourceforge.net/p/geoserver/mailman/geoserver-devel/thread/56040fbe.c755c20a.da03.41dd%40mx.google.com/#msg34487376
|