Changeset 6453 for cowsclient


Ignore:
Timestamp:
01/02/10 17:23:50 (9 years ago)
Author:
pnorton
Message:

Fixed a problem with clear.gif on the wcsdown page not having the
correct path.

Location:
cowsclient/branches/1.4.x
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/branches/1.4.x/cowsclient/public/js/boundingBoxMapSelect.js

    r6038 r6453  
    1616 *                            'bboxN','bboxE','bboxS','bboxW'.  
    1717 */ 
    18 var BoundingBoxMapSelect= function (mapContainerId, controlContainerId, baseLayerData, inputElementId, stringContainerId, boundsMarkup) { 
     18var BoundingBoxMapSelect= function (mapContainerId, controlContainerId, baseLayerData, inputElementId, stringContainerId, backgroundImage, boundsMarkup) { 
    1919     
    2020    this.events = new OpenLayers.Events(this, null, this.EVENT_TYPES);           
     
    2424    this.inputElementId = inputElementId; 
    2525    this.controlContainerId = controlContainerId; 
     26    this.backgroundImage = backgroundImage; 
    2627     
    2728    this._bbox = new OpenLayers.Bounds(-180.0, -90.0, 180.0, 90.0); 
     
    7879            var baseLayer =  new OpenLayers.Layer.Image( 
    7980                    "None", 
    80                     '../layout/images/clear.gif', 
     81                    this.backgroundImage, 
    8182                    new OpenLayers.Bounds(-180, -90, 180, 90), 
    8283                    new OpenLayers.Size(8, 8), 
  • cowsclient/branches/1.4.x/cowsclient/templates/wcsdown.html

    r6397 r6453  
    8282function init() { 
    8383 
     84 
     85    var bgImagePath = '$g.server/layout/images/clear.gif'; 
     86     
    8487    var baseLayerData = ${h.jsonParseIfNotEmpty(c.baseLayerJSON)}; 
    8588 
     
    105108        } 
    106109         
    107         var bboxSelect = new BoundingBoxMapSelect('map', 'bounds_control_container', baseLayerData,  'bbox_hidden_input', null); 
     110        var bboxSelect = new BoundingBoxMapSelect('map', 'bounds_control_container', baseLayerData, 'bbox_hidden_input', null, bgImagePath, null); 
    108111    </py:if> 
    109112 
  • cowsclient/branches/1.4.x/outline_layers.ini

    r6013 r6453  
    1313 
    1414[wcsdown] 
    15 keys = metacarta_basic,metacarta_outline 
     15outline = metacarta_basic,metacarta_outline 
    1616 
    1717## The layers ## 
  • cowsclient/branches/1.4.x/setup.py

    r6434 r6453  
    88setup( 
    99    name='cowsclient', 
    10     version="1.4.0",  
     10    version="1.4.1",  
    1111    #description='', 
    1212    #author='', 
Note: See TracChangeset for help on using the changeset viewer.