[Users] Change Image Icon for layers nodes in TreePanel GeoExt 1.1

Joaquin Carrasco Gallego jcarrascog at gmail.com
Fri Sep 12 16:24:21 CEST 2014


> Hi, that would be useful for me, if you can explain me I´ll appreciate 
> it. And then I can compare with Bart´s code, and learn a  bit more.
>
> Thank you.
>
> El 12/09/14 00:18, Brad Spencer escribió:
>>
>> I am not quite sure if I am doing what you want (see tree.jpg 
>> attached) but I load different icons at tree leaf level depending on 
>> if the layer is editable to this user's account. Then when they click 
>> on the layer to make it visible, I have loadstart and loadend 
>> registered events on the layers to switch the icon to a wait wheel 
>> and back again.
>>
>> I also use the same method with point symbols where a layer 
>> represents a single data type (see tree_symbol.jpg attached). I use 
>> the symbol image at the tree leaf level.
>>
>> If this is what you need to do I can explain how I do it.
>>
>> Let me know what you think.
>>
>> Cheers,
>>
>> *Brad Spencer*
>>
>> Managing Director**
>>
>> http://www.numaps.com.au/
>>
>> tel: 02 9672 6856
>>
>> mob: 0404 841 131
>>
>> see my artwork here <http://www.paintingsilove.com/artist/bradspencer>
>>
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140912/b2206e16/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5204 bytes
Desc: not available
Url : http://www.geoext.org/pipermail/users/attachments/20140912/b2206e16/attachment.png 


More information about the Users mailing list