Hi!
I would like to animate a wms layer from javascript. I use a image/gif output
format. I animate a viewparam - type datetime. It works but the gif is not
transparence.
If I add a 'transparent:true' pair to layer params, its wrong.
I use OpenLayers with Geoserver 2.3.1 and Windows7
My script:
it works
wms_l = new OpenLayers.Layer.WMS("Mérések",
wMS_ServiceURL,
{
layers: wms_layer
, request:"animate"
, featurePrefix: featureprefix
, viewparams: view_Params
, aparam:"time"
, avalues:"2014-02-01,2014-02-05"
, format:"image/gif";subtype=animated"
, format_options:
"gif_frames_display:200;gif_loop_continuosly:true"
, version:"1.1.1"
},
{
isBaseLayer: false
, yx: { 'EPSG:4326': false }
}
);
it does not work
wms_l = new OpenLayers.Layer.WMS("Mérések",
wMS_ServiceURL,
{
layers: wms_layer
, request:"animate"
, featurePrefix: featureprefix
, viewparams: view_Params
, aparam:"time"
, avalues:"2014-02-01,2014-02-05"
, format:"image/gif";subtype=animated"
, format_options:
"gif_frames_display:200;gif_loop_continuosly:true"
, version:"1.1.1"
, transparent: true
},
{
isBaseLayer: false
, yx: { 'EPSG:4326': false }
}
);
Can anybody help me?
Thank's
Endre Holb
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users