[Users] How to find layer record from layer node ?

Alexandre Dube adube at mapgears.com
Tue Mar 23 20:09:39 CET 2010


Hi,

   I want to remove a layer from a LayerContainer, MapPanel and Tree.  
So far, destroying the layer (OL) and node.destroy() works, but the 
layer is still in the MapPanel layers.  From the layertree node, is 
there a simple way to remove the according MapPanel layer record ?  Or 
is there a method doing all that at once ?

  Thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list