Hi all

I try to refresh my mappanel (inside a viewport) after :

var wmcFormat   = new OpenLayers.Format.WMC();

map.destroy();

var jsonFormat = new OpenLayers.Format.JSON();

var mapOptions = jsonFormat.read('{"allOverlays": true}');

map   = wmcFormat.read(context, {map: mapOptions}); 



The FireFox error is : layers is null in MapPanel.js (ligne 301)

 

And do I have to re-build all the GeoExt widgets (ScaleStore, LegendPanel,
OverviewMap.) which are bind to my map ??


Thanks for the help

Arno

_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to