Ignore:
Timestamp:
18/11/09 09:35:04 (10 years ago)
Author:
pnorton
Message:

Moved the path of the transparent background gif to the wmsviz template so that it can use the server path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/templates/wmsviz.html

    r6013 r6019  
    175175 
    176176    var makeFigureURL = "$g.server/wmsviz/get_figure"; 
     177    var bgImagePath = '$g.server/layout/images/clear.gif'; 
    177178     
    178179    var allEvents = []; 
     
    205206    var boundsControl  = new WMSC.BoundsControl('dims', initialBounds, eventsManager); 
    206207    var layerControl   = new WMSC.VisAppLayers('layerTree', 'layerLeaves',wmcRetriever, 'new_endpoint', 'add_new_endpoint', initialStatus.DefaultLayerParms, eventsManager, furtherInfoLinks);   
    207     app = new WMSC.VisApp('map', 10, 640, true, initialBounds, eventsManager); 
     208    app = new WMSC.VisApp('map', 10, 640, true, initialBounds, eventsManager, bgImagePath); 
    208209 
    209210    var initialEndpoints = JSON.parse(initialSetupJSON); 
Note: See TracChangeset for help on using the changeset viewer.