[Users] GeoExt.MapPanel and TabPanel

Luca Casagrande luca.casagrande at gmail.com
Fri Sep 11 19:26:03 CEST 2009


Andreas Hocevar ha scritto:

>>> The problem is the way ExtJS hides elements by default, by setting
>>> style.display to none. Try setting hideMode to "offsets" in your
>>> mapPanel config, and see
>>> http://www.extjs.com/deploy/dev/docs/source/Component.html#cfg-Ext.Component-hideMode
>>> for more details.
>>>     
>> Same problem Andreas..
>> The first error is "tile is undefined" and then, if I try to change the
>> visibility of an overlay layer, "bottomLeftTile is undefined".
>>   
> 
> Hm. If the problem is really Ext related, you could try to wrap the
> mapPanel into an extra Ext.Panel with layout: "fit". Or try to set
> deferredRender: false also on the mapPanel.

I'll try your first option, cause setting deferredRender:false on the
mapPanel doesn't work.

Thank you for all your help

Ciao
Luca


More information about the Users mailing list