<h2>Hi guys, hope you can help!</h2>

<b>Problem</b>
<p>
We use tabs in our application (you might be familiar with RadTabStrip and RadMultiPage). Ideally, the map is placed on the first tab which is also visible on page load --> map initialization works like a charm. However if the map is placed on a different tab that is <i>not </i>visible on page load --> map initialization fails. From firebug I get the following error: <i>size is null. this.size=size.clone();</i>. Seems like it's thrown by the class OpenLayers.Renderer from <i>setMap </i>when adding a new layer to the map.
</p>
<p>
I guess this has to do with the fact that the map/renderer can't determine a size when placed inside a non-visible tab. Any ideas on how to get the map to load properly even when hidden? The solution of course needs to be xbrowser.
</p>

/Andreas
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Initializing-hidden-map-tp4498145p4498145.html">Initializing hidden map</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>