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 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.
True if the group has been added. False otherwise.
An array of gmf theme group.
Optional
opt_add: booleanif true, force to use the 'add' mode this time.
Optional
opt_silent: booleanif true notifyCantAddGroups_ is not called.
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.
Optional
opt_add: booleanif true, force to use the 'add' mode this time.
Optional
opt_silent: booleanif true notifyCantAddGroups_ is not called
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.
Optional
opt_add: booleanif true, force to use the 'add' mode this time.
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.
True if the group has been added. False otherwise.
An array of gmf theme group.
The group's name to add.
Optional
opt_add: booleanif true, force to use the 'add' mode this time.
Optional
opt_silent: booleanif true notifyCantAddGroups_ is not called.
Return a TreeManagerFullState that keeps the state of the given treeCtrl including the state of its children.
the fullState object.
the ngeo layertree controller to save.
Get the OGC server.
The OGC server.
ngeo layertree controller, from the current node.
Get a treeCtrl based on it's node id.
treeCtrl The associated controller or null.
the id of a GMFThemesGroup or a GMFThemesLeaf.
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.
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.
True if the group has been added. False otherwise.
An array of gmf theme group.
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)
Generated using TypeDoc
Number of groups to add to the layertree during one single Angular digest loop.