I want a popup action in the same line behind/in front off my layer in the layertree.
I tried this example: https://searchcode.com/codesearch/view/66045998/but this is not working for my code. I cannot create a "GeoExt.tree.LayerNodeUI". Maybe it's because of GeoExt and GeoExt2. I am not sure.
My code:
var tree = Ext.create('GeoExt.tree.Panel', { border: true, region: "west", title:'Layers' , split: false, collapsible: true, autoScroll: true, rootVisible: false, lines: true }); tree.getRootNode().appendChild({ text: "Header", group: true, children: [ { plugins: [ 'gx_layer'], layer: layer_1, text: 'Layer_1', onCheckChange: true, leaf: false, }], expanded: true });Is there any possibility to add a button behind my "layer_1" with a popup action in the layer tree?Thank you for helping me.
أكثر...
I tried this example: https://searchcode.com/codesearch/view/66045998/but this is not working for my code. I cannot create a "GeoExt.tree.LayerNodeUI". Maybe it's because of GeoExt and GeoExt2. I am not sure.
My code:
var tree = Ext.create('GeoExt.tree.Panel', { border: true, region: "west", title:'Layers' , split: false, collapsible: true, autoScroll: true, rootVisible: false, lines: true }); tree.getRootNode().appendChild({ text: "Header", group: true, children: [ { plugins: [ 'gx_layer'], layer: layer_1, text: 'Layer_1', onCheckChange: true, leaf: false, }], expanded: true });Is there any possibility to add a button behind my "layer_1" with a popup action in the layer tree?Thank you for helping me.
أكثر...