Assign a layer to this node, and recursively set this node's children.
The argument passed to this method is a flat associative array of (layerId => Layer) elements. This method is used to initialize the node tree from a flat list, as given by the MapInfo object.
Tags:
access:
public
Parameters:
array
$layersMap
flat map of layerId's to layer objects. This object will be given to this node children recursively, to let them build the sub nodes of the tree