Barend Kobben <[EMAIL PROTECTED]> writes:

> 
> HI,
> 
> We actually have  an MSc student just started on seeing how to do this using
> WMS-T and SVG. SVG enables an integrated animation/interface, using SMIL
> animation and javascript interactivity. We hope to present some results at
> the upcoming SVGopen conference in Nurnberg (Germany, august 26-29)). See
> the abstract "SVG and Geo Web Services for visualization of time series data
> of flood risk" on the Proceedings page at http://svgopen.org/2008/
> 

Hello 
sorry for my anglish ...

I tried to do an animation and i used it :

.
.
.

var loaded = "FALSE";
var madate = new Date("June 18, 2008 00:00:00");
.
.
.

radar = new OpenLayers.Layer.WMS( "animation radar",
"http://monServeur:8080/wms";, {layers:
"radar:"+madate.dateFormat('YmdHis')+":M:FRANCE_5MN", transparent: "TRUE",
format: "image/png"} , { singleTile: true, transitionEffect: 'resize'});

syn_radar_wms.events.register('loadend', radar ,function(e){
                if (loaded=="TRUE"){
                        play_minute();
                }
                
                });

.
.
.

function play_minute(){
                        madate.setMinutes(madate.getMinutes()+5);
                        madate_formate = madate.dateFormat('YmdHis');           
        
                        string = "radar:"+madate_formate+":M:FRANCE_5MN"; 
                        radar.mergeNewParams({'layers':string});          
                }

.
.
.

<div onclick="loaded='TRUE'; play_minute()">Play (animation Minute + 5)</div>


And that's good 

What do you think about it ?

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to