maybe something like this could help you:<div><br></div><div>var p = new Ext.Panel({</div><div><div> region: 'center',</div><div> html: '<div id="map" style="width:100%; height:100%;" />'</div>
<div>});</div></div><div><br></div><div>you can init the OL map in that Div</div><div><br></div><div>var map = new OpenLayers.Map('map', options);</div><div><br></div><div>then you can update map size with the extjs panel resize event.</div>
<div>(<a href="http://www.extjs.com/deploy/dev/docs/?class=Ext.Panel" target="_blank">http://www.extjs.com/deploy/dev/docs/?class=Ext.Panel</a> EXTJS Panel API reference.)</div><div><br></div><div><div>p.on('resize', function() { </div>
<div> mapObjet.updateSize();</div><div>});</div></div><div><br></div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:13px;white-space:pre-wrap">Greetings
Rodolfo B</span></div><div> </div><div><br><div class="gmail_quote">2009/11/30 Luca Santaniello <span dir="ltr"><<a href="mailto:lsantaniello@cidsoftware.it" target="_blank">lsantaniello@cidsoftware.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I want resize map <span><span style="background-color:rgb(255, 255, 255)" title="Voglio ridimenzionare la mappa automaticamente">automatically
but I have a problem. I use ext3. I have one panel and I want render my
map into this panel to max extent.<br>
<br>
Can help me please?<br>
<br>
Thanks<br>
<br>
Luca</span></span><br>
</div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org" target="_blank">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
<br></blockquote></div><br></div>