A reference to the OGC servers loaded by the theme service.
The root node and its children used to generate the layertree (with the same ordre).
The controller of the (unique) root layer tree.
The array of top level layer trees is available through rootCtrl.children
.
The order doesn't match with the ordre of the displayed layertree.
Add a group as tree's children without consideration of this service 'mode'. Add it only if it's not already in the tree.
The group to add.
true if the group has been added.
Add some groups as tree's children. If the service use mode 'flush', the previous tree's children will be removed. Add only groups that are not already in the tree.
An array of gmf theme group.
True if the group has been added. False otherwise.
Retrieve a group by the name of a layer that is contained in this group (first found). This group will be added in the tree. Do nothing if any corresponding group is found.
Name of the layer inside the group to add.
Retrieve a group (first found) by its name and add in the tree. Do nothing if any corresponding group is found.
Name of the group to add.
Add some groups as tree's children. If the service use mode 'flush', the previous tree's children will be removed. Add only groups that are not already in the tree.
NB: The first level group is added, second-level tree is set active when it corresponds to the searched group.
An array of gmf theme group.
The group's name to add.
True if the group has been added. False otherwise.
Return a TreeManagerFullState that keeps the state of the given treeCtrl including the state of its children.
the ngeo layertree controller to save.
the fullState object.
Get the OGC server.
ngeo layertree controller, from the current node.
The OGC server.
Get a treeCtrl based on it's node id.
the id of a GMFThemesGroup or a GMFThemesLeaf.
treeCtrl The associated controller or null.
Called when the themes change. Get the OGC servers, then listen to the tree manager Layertree controllers array changes. The themes could have been changed so it also call a refresh of the layertree.
Display a notification that informs that the given groups are already in the tree.
An array of groups that already in the tree.
Layer tree node to remove.
Keep the state of each existing first-level-groups in the layertree then remove it and recreate it with nodes that come from the new theme and the corresponding saved state (when possible, otherwise, juste take the corresponding new node). FIXME: Currently doesn't save nor restore the opacity.
the array of themes to be based on.
Remove all groups.
Remove a group from this tree's children. The first group that is found ( based on its name) will be removed. If any is found, nothing will append.
The group to remove.
Layer tree node to remove.
An array of groups.
The old index before reorder (the current one).
The new index after reorder.
Restore state of the given treeCtrl including the state of its children from passed TreeManagerFullState.
the ngeo layertree controller.
the fullState object.
Set some groups as tree's children. If the service use mode 'flush', the previous tree's children will be removed. Add only groups that are not already in the tree.
An array of gmf theme group.
True if the group has been added. False otherwise.
The groups we add to the layertree
Enable/disable the tree child (node) and apply it to children if present.
The child object in the tree.
If the child is active or not in the layer-tree.
Set the child nodes metadata isChecked
if its name is among the list of
given names. If a child node also has children, check those instead.
The original node.
Array of node names to check (i.e. that should have their checkbox checked)
Update the application state with the list of first level groups in the tree.
current firstlevel groups of the tree.
groups removed within this operation.
Generated using TypeDoc
Number of groups to add to the layertree during one single Angular digest loop.