Ignore:
Timestamp:
31/08/07 16:57:44 (12 years ago)
Author:
spascoe
Message:

First glimpse of visualise working.

It's not connected to the selection control yet. You need to explicitly
give it a granuleURI, featureId and time point. The form is populated with
an example.

Update is controlled from the ndgPage.kid:updateVis() function
which calls VisMapBox?.js:VisApp.updateVisLayer().

Note it won't work unless the data is visible at the location in the CSML (/badc/ipcc-ddc/... in the example).

I can see the WMS isn't drawing tiles correctly at high longitudes. (New Zealand gets a raw deal again :-) ).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/public/test_openlayers.html

    r2621 r2865  
    1818            //    "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'});  
    1919 
     20 
     21            // http://saturn.badc.rl.ac.uk:8080/wms/badc.nerc.ac.uk__NDG-A0__AWQX8gTc?request=GetMap&version=1.3.0&layers=EhWv0qW5&bbox=-180,-90,180,90&width=600&height=300&Styles=&CRS=CRS:84&format=image/png&time=2024-01-15T00:00:00.0 
    2022            var csml_wms = new OpenLayers.Layer.WMS( "Test CSML layer", 
    21                 "http://saturn.badc.rl.ac.uk:8080/clim_10/wms?", 
    22                 {layers: 'SlRBzxwq', 
     23                "http://saturn.badc.rl.ac.uk:8080/wms/badc.nerc.ac.uk__NDG-A0__AWQX8gTc", 
     24                {layers: 'EhWv0qW5', 
    2325                 CRS: 'CRS:84', format: 'image/png', version: '1.3.0', 
    24                  styles: '', time: '1935-01-15T00:00:00.0' 
     26                 styles: '', time: '2024-01-15T00:00:00.0' 
    2527                 }); 
    2628            map.addLayers([//ol_wms,  
Note: See TracChangeset for help on using the changeset viewer.