[Users] GeoExt.MapPanel and TabPanel

Eric Lemoine eric.lemoine at camptocamp.com
Fri Sep 11 18:49:09 CEST 2009


On Friday, September 11, 2009, Luca Casagrande
<luca.casagrande at gmail.com> wrote:
> 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".

how about setting deferredRender to true in the tab panel config? (I'm
not sure but I think it's false by default)

>
> Thanks for your supporto
>
> Ciao
> Luca
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list