[OpenLayers-Dev] dinamic size with ext3.0

Andreas Hocevar ahocevar at opengeo.org
Mon Nov 30 04:56:48 EST 2009

Luca Santaniello wrote:
> 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.

Create your map, or at least call map.updateSize() in a function 
registered for your panel's afterrender method.

Also, you may want to try GeoExt (http://geoext.org), which provides a 
MapPanel that does exactly what you are requesting here.


> Can help me please?
> Thanks
> Luca
> ------------------------------------------------------------------------
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

More information about the Dev mailing list