getSubLayers();
The getSubLayers method returns all the first level child layers.
The method returns a JSON object which fields have names matching to IDs of map child layers and values that contain objects of the PP.MapLayer type.
The example of use is given in the page with description of the MapLayer.clear method.
See also: