Changeset 5578 for cowsclient


Ignore:
Timestamp:
06/08/09 15:26:39 (10 years ago)
Author:
pnorton
Message:

Added a loading panel to the open layers map.

Location:
cowsclient/branches/qesdi/cowsclient
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/branches/qesdi/cowsclient/public/js/layerControl.js

    r5576 r5578  
    271271        this.tree.removeNode(node) 
    272272        // need to redraw to show this change  
    273         this.redrawTree();        
    274          
     273        this.redrawTree(); 
    275274    }, 
    276275                 
  • cowsclient/branches/qesdi/cowsclient/public/js/mapControl.js

    r5574 r5578  
    5555        this.subselControl = new SubSelectionMouseToolbar(new OpenLayers.Pixel(mapWidth-40,10), 
    5656                           'vertical', this.boxesLayer); 
    57  
     57         
     58        this.map.addControl(new OpenLayers.Control.LoadingPanel()); 
    5859        this.map.addControl(new OpenLayers.Control.PanZoomBar()); 
    5960        this.map.addControl(this.subselControl); 
  • cowsclient/branches/qesdi/cowsclient/public/layout/ddc_vis.css

    r5484 r5578  
    88} 
    99 
    10 DIV#map { 
    11   width: 640px; 
    12   height: 320px; 
    13   background-color: white; 
    14   margin: 1px; 
    15   border: 1px solid #222277; 
    16 } 
    1710 
    18 DIV#mapBox { 
    19   margin-bottom: 1em; 
    20 } 
    21  
    22 DIV#legend { 
    23   width: 640px; 
    24   height:80px; 
    25   margin: 1px; 
    26 } 
    2711 
    2812DIV.optDiv { 
  • cowsclient/branches/qesdi/cowsclient/public/layout/ndg2.css

    r5267 r5578  
    216216.key {background-image:url(/layout/key.gif);} 
    217217 
    218 #map {width:440px; height:220px; border: 1px solid black;} 
    219218/* .map {width:300px;height:250px;border:0;padding:0;margin:0;overflow:hidden;}*/ 
    220219/* NumSim */ 
  • cowsclient/branches/qesdi/cowsclient/templates/wmsviz.html

    r5576 r5578  
    77<link type="text/css" rel="stylesheet" href="$g.server/layout/ddc_vis.css"/> 
    88<link type="text/css" rel="stylesheet" href="$g.server/layout/ndg2.css"/> 
     9 
     10<link type="text/css" rel="stylesheet" href="$g.server/layout/open_layers_map.css"/> 
     11 
    912<!-- <script type='text/javascript'  
    1013        src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> --> 
     
    4447<script src="$g.server/js/prototype.js"></script> 
    4548<script src="$g.server/js/OpenLayers.js" /> 
     49<script src="$g.server/js/LoadingPanel.js"></script> 
     50 
     51 
    4652<script src="$g.server/js/openlayers-x.js"/> 
    4753<!-- script src="$g.server/js/dimensionControl.js"/ --> 
Note: See TracChangeset for help on using the changeset viewer.