MapLayer.getSubLayers

Syntax

getSubLayers();

Description

The getSubLayers method returns all the first level child layers.

Comments

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.

Example

The example of use is given in the page with description of the MapLayer.clear method.

See also:

MapLayer