A super module that collects available sub-modules.
- Source:
Classes
Namespaces
Methods
(static) exports.createLayerTreeStructure(layers, folderName, parent) → {object}
Helper function to create a structure object for the layer tree.
optionally creates a new folder with the given name
Parameters:
Name | Type | Description |
---|---|---|
layers |
Array.<Layer> | |
folderName |
string | (optional) will be added to root as default |
parent |
string | (optional) default is '#' |
- Source:
Returns:
{structure, layers}
- Type
- object