maybe something like this could help you:

var p = new Ext.Panel({
    region: 'center',
    html: '<div id="map" style="width:100%; height:100%;" />'
});

you can init the OL map in that Div

var map = new OpenLayers.Map('map', options);

then you can update map size with the extjs panel resize event.
(http://www.extjs.com/deploy/dev/docs/?class=Ext.Panel EXTJS Panel API
reference.)

p.on('resize', function() {
           mapObjet.updateSize();
});


Greetings Rodolfo B


2009/11/30 Luca Santaniello <lsantanie...@cidsoftware.it>

>  Hi,
>
> I want resize map 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.
>
> Can help me please?
>
> Thanks
>
> Luca
>
> _______________________________________________
> Dev mailing list
> Dev@openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to