Changeset 5707 for qesdi/wms_ddc_vis


Ignore:
Timestamp:
11/09/09 13:11:10 (10 years ago)
Author:
pnorton
Message:

Removed some modifications to the demo.js and demo.html that were referencing endpoints and libraries that are not included with the checkout.

Location:
qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/public/demo.js

    r5403 r5707  
    1010    /* the outline layer that is applied to all of the data layers. */ 
    1111     
    12 //    var coast = new OpenLayers.Layer.WMS( 
    13 //              "Coastline", 
    14 //              "http://labs.metacarta.com/wms/vmap0", 
    15 //              { layers: 'coastline_01', format: 'image/png', transparent: 'true' } 
    16 //    ); 
    17 //     
    18 //    map.addLayer(coast); 
    19      
    2012    var coast = new OpenLayers.Layer.WMS( 
    21                 "Coastline", 
    22                 "http://localhost:5000/coastwms", 
    23                 { layers: 'l', format: 'image/png', transparent: 'true' }                                 
     13                "Coastline", 
     14                "http://labs.metacarta.com/wms/vmap0", 
     15                { layers: 'coastline_01', format: 'image/png', transparent: 'true' } 
    2416    ); 
    2517     
    2618    map.addLayer(coast); 
    27      
     19         
    2820    setLayer(); 
    2921    map.zoomToMaxExtent(); 
     
    4032         
    4133        /*displayed when no layer is selected*/ 
    42 //      dataLayer = new OpenLayers.Layer.WMS( 
    43 //                      "Coastline", 
    44 //                      "http://localhost:5000/coastwms", 
    45 //                      { 
    46 //                          layers: 'c', format: 'image/png', transparent: 'false' 
    47 //                      }                                 
    48 //                  ); 
    49          
    50         dataLayer = null 
    5134         
    5235                dataLayer = new OpenLayers.Layer.WMS( 
  • qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/templates/demo.html

    r5403 r5707  
    1212<title>Demo Map page for ${c.fcName}</title> 
    1313 
    14 <!-- script src="http://www.openlayers.org/api/OpenLayers.js" type="text/javascript"></script --> 
    15 <script src="${h.url_for('/openlayers/OpenLayers.js', qualified=True)}" type="text/javascript"></script> 
     14<script src="http://www.openlayers.org/api/OpenLayers.js" type="text/javascript"></script > 
    1615<script src="${h.url_for('/demo.js', qualified=True)}" type="text/javascript"></script> 
    1716 
Note: See TracChangeset for help on using the changeset viewer.