Changeset 288


Ignore:
Timestamp:
03/27/09 18:00:46 (9 years ago)
Author:
tschaub
Message:

use a clone of the layer from the capabilities store

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/opengeo/geoexplorer/examples/wms-capabilities.js

    r278 r288  
    3030    function mapPreview(grid, index) {
    3131        var record = grid.getStore().getAt(index);
    32         var layer = record.get("layer");
     32        var layer = record.get("layer").clone();
    3333        layer.isBaseLayer = true; // default is false
    3434       
Note: See TracChangeset for help on using the changeset viewer.