Dear all,

I have resolved my problem, I want to share it for anyone who is necessary.
About tree layer component, I have devolope some features:

   1. aic.tree.LayerNodeUIOpacity:
      - Add a opacity combobox for each layer.
   2. aic.tree.GroupLayer:
      - A layer container which container layer have same groupName
      property.
      - Have a check group to turn on/off the visibility of all layer in
      group. (But I don't know why I can't add 'checkchange' listener
for group, I
      must set it when a layer node added).
   3. aic.tree.LayerLoader:
      - Extend from GeoExt.tree.LayerLoader
      - LayerLoader for GroupLayer to change z-index of layer.
      - Set 'checkchange' for group when the first layer added.
      - I override some method. With onChildMove method, I change all, but I
      not sure it work well in the most case. I have tested with two group, 3
      layer in each group. If you found any error, please tell me know it. Many
      thanks.

I enclosed file by email attach, I don't have any host to upload.

-- 
Nguyễn Đình Toán

Attachment: GroupLayer.js
Description: JavaScript source

Attachment: LayerLoader.js
Description: JavaScript source

Attachment: LayerNodeUIOpacity.js
Description: JavaScript source

_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to