[Users] Layertreebuilder has issues when layer removed.

Alexandre Dube adube at mapgears.com
Wed Jul 13 14:05:04 CEST 2011


Hi Phil,

It's not an issue, it's simply not implemented yet. If you look in the 
widget code, you'll see :

onLayerRemoved: function(store, records, index){
//todo: remove empty groups
},

Patch welcomed.

Kind regards,

Alexandre


On 11-07-12 10:57 PM, Phil Scadden wrote:
> If a layer is removed and the group it is within is now empty, the group
> node is not destroyed! Ugly.


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list