Hi, Im trying to refresh or redraw the OpenLayers.map (or some of its layers) that is contained inside a Ext.Window withtout succes.
I thought that calling the OpenLayers.layer.redraw() would do the job but no. what is the proper way to do that? This is how I use geoExt to generate the map: var mapWindow = new Ext.Window({ title: "Map: Test", x: 500, y: 85, height: 500, width: 500, layout: "fit", collapsible: true, closable: false, bodyBorder: false, shadowOffset: 6, items: [{ xtype: "gx_mappanel", map: map, center: new OpenLayers.LonLat(0,0), zoom: 0, tbar: toolbarItems }] }).show(); Thank you Max Demars -- Stack Overflow: http://stackoverflow.com/users/1914034/burton449 GIS Overflow: http://gis.stackexchange.com/users/14426/burton449 LastFm: http://www.lastfm.fr/user/burton449
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users