Changeset 295


Ignore:
Timestamp:
03/30/09 23:43:22 (9 years ago)
Author:
dwins
Message:

Update GeoExplorer to new WMSGetFeatureInfo API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js

    r294 r295  
    246246
    247247    updateGFILayers: function() {
    248         var layernames = [];
     248        var layers = [];
    249249        for (var i = 0, len = this.map.layers.length; i < len; i++) {
    250250            if (this.map.layers[i].params && this.map.layers[i].getVisibility()) {
    251                 layernames.push(this.map.layers[i].params.LAYERS);
     251                layers.push(this.map.layers[i]);
    252252            }
    253253        }
    254254
    255         this.mapControls.getFeatureInfo.layers = layernames.join(",");
     255        this.mapControls.getFeatureInfo.layers = layers;
    256256    },
    257257
Note: See TracChangeset for help on using the changeset viewer.