[Users] GeoExt.MapPanel and TabPanel

Luca Casagrande luca.casagrande at gmail.com
Fri Sep 11 18:37:10 CEST 2009


Andreas Hocevar ha scritto:
> Luca Casagrande wrote:
>> Hi Pierre and thanks for your answer,
>> adding null as you suggested brings the same problem :(
>>   
> 
> Understandable. OpenLayers.Map also accepts a single argument configuration.
> 
>> What I don't understand is why if I set as active tab the first one,
>> the page loads with no error and all is working fine.
>>   
> 
> 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".

Thanks for your supporto

Ciao
Luca



More information about the Users mailing list