Changeset 2621 for TI05-delivery


Ignore:
Timestamp:
20/06/07 11:19:59 (12 years ago)
Author:
spascoe
Message:

Changed the demo openlayers app to just display one of the IPCC-DDC layers
using tiling.

File:
1 edited

Legend:

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

    r2599 r2621  
    1515 
    1616             
    17             var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",  
    18                 "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'});  
     17            //var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",  
     18            //    "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'});  
    1919 
    20             var csml_wms = new OpenLayers.Layer.WMS.Untiled( "Test CSML layer", 
     20            var csml_wms = new OpenLayers.Layer.WMS( "Test CSML layer", 
    2121                "http://saturn.badc.rl.ac.uk:8080/clim_10/wms?", 
    2222                {layers: 'SlRBzxwq', 
     
    2424                 styles: '', time: '1935-01-15T00:00:00.0' 
    2525                 }); 
    26             map.addLayers([ol_wms, csml_wms]); 
    27             map.addControl(new OpenLayers.Control.LayerSwitcher()); 
     26            map.addLayers([//ol_wms,  
     27                           csml_wms]); 
    2828            // map.setCenter(new OpenLayers.LonLat(0, 0), 0); 
    2929            map.zoomToMaxExtent(); 
Note: See TracChangeset for help on using the changeset viewer.