JMap.Layer.getLayerTreeElementsById
Returns a map (= a javascript object) where :
A tree element is a layer group or a layer.
A layer group contains layer(s) and/or other layer group(s), and has a negative id.
A layer has a positive id.
If no project is loaded, returns en empty object.
// returns a map of layer elements defined by layer idJMap.Layer.getLayerTreeElementsById() Copy
// returns a map of layer elements defined by layer idJMap.Layer.getLayerTreeElementsById()
JMap.Layer.getLayerTreeElementsById
Returns a map (= a javascript object) where :
A tree element is a layer group or a layer.
A layer group contains layer(s) and/or other layer group(s), and has a negative id.
A layer has a positive id.
If no project is loaded, returns en empty object.