Hi.

Sorry for the delay. Did you have an example of creating a tree without 
layers in it by default or did you just create an empty map and added 
element in it after the initial load?

I'm not sure anymore that what I did would fix that, but I would like to 
test it anyway. I rewrote part of the Tree way to create layers as a 
test and I wonder if it would fix that as a side effect.

Julien

On 12-10-22 05:22 AM, Roald de Wit wrote:
> Hi Julien,
>
> Ping! :-)
>
> I've got a version of LayerTreeBuilder.js on github that does what I
> described (and is probably similar to yours):
>
> https://github.com/rdewit/geoext2.adube/blob/layertreebuilder/src/GeoExt/tree/LayerTreeBuilder.js
>
>
> Curious about your approach.
>
> Regards, Roald
>
> On 17/10/12 00:34, Julien-Samuel Lacroix wrote:
>>
>> On 12-10-15 08:22 PM, Roald de Wit wrote:
>>> I'm having a similar problem with the layer tree (and adube's layer tree
>>> builder): it needs to have the layer store available on init, where in
>>> my use case the layer tree can be there before the map (or layer store)
>>> is available.
>>>
>> I'm currently preparing for a conference so I'm in rush, but if you have
>> some time, I could probably get you some code that do that at the end of
>> the week. Just ping me if I forget you.
>>
>> Best regards,
>> Julien
>>
>

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
_______________________________________________
Dev mailing list
Dev@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to