Properties

dataSource_: DataSource
depth: number
isRoot: boolean
layer: LayerGroup | Layer<Source, LayerRenderer<any>>
listenersExpr: string
map: Map
node: any
nodelayerExpr: string
properties: {}

Type declaration

    rootScope_: IScope
    state_: string
    uid: string

    Methods

    • Return the current state, calculate on all its children recursively.

      Returns string

      'on', 'off', 'indeterminate', or '' if the children are not initialized.

    • Return the current state.

      Returns string

      'on', 'off', 'indeterminate', or '' if the children are not initialized.

    • Refresh the state of this treeCtrl based on it's children value. The call its parent to do the same.

      Parameters

      • Optional opt_onChild: LayertreeController

        Child tree controller that had its state changed to 'on'.

      • Optional opt_broadcast: boolean

        Broadcast.

      Returns void

    • Set the state of this treeCtrl. Update its children with its value and then ask its parent to refresh its state.

      Parameters

      • state: string

        'on' or 'off'.

      • Optional opt_broadcast: boolean

        Broadcast.

      Returns void

    • Recursive method to traverse the layertree controller graph.

      Parameters

      • visitor: Visitor

        A visitor called for each node.

      Returns boolean

      whether to stop traversing.

    Generated using TypeDoc