Given the change in the way layers configured in the map panel are loaded in 
the map:

(http://trac.geoext.org/wiki/Release/1.0/Notes): "Layers configured in the 
MapPanel's layers property won't be added to the map before it is rendered. 
This is a behavioral change that may require changes in code that relies on 
a layer's map property before the map is rendered."

Are there plans to change the internal GeoExt code so that components which 
rely on the layer's map property are initialized after the layer is added to 
the map or instead use the GeoExt.MapPanel.guess() and its map property.

I recently ran into this problem when attempting to use a GridPanel 
configured with a FeatureStore and a FeatureSelectionModel. I'm sure other 
components also have this issue. I solved it by manually binding the 
FeatureStore and FeatureSelectionModel in an 'afterrender' listener for the 
MapPanel.

Matt Priour
Kestrel Computer Consulting 

_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to