Changeset 223


Ignore:
Timestamp:
03/13/09 20:03:49 (9 years ago)
Author:
sbenthall
Message:

createLayer method on FeatureStore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/opengeo/alachua/lib/GeoExt/data/FeatureStore.js

    r222 r223  
    114114        }
    115115    }
     116
     117    /**
     118     * Method: createLayer
     119     * Creates a bound Vector layer from this this store, for
     120     * consumption by, for example, a MapPanel
     121     *
     122     */
     123
     124    createLayer: function(){
     125        var layer = new OpenLayers.Layer.Vector();
     126        this.bind(layer);
     127        return layer;
     128    }
     129
    116130});
Note: See TracChangeset for help on using the changeset viewer.