Sample to create a new store containing a cache of GeoExt.data.LayerRecord instances derived from map layers.
var store = new GeoExt.data.LayerStore({
map: myMap,
layers: myLayers
});
Configuration properties in addition to those listed for Ext.data.Store.
Public properties in addition to those listed for Ext.data.Store.