Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LayertreeController

Index

Properties

dataSource_: DataSource
depth: number
isRoot: boolean
layer: LayerGroup | Layer<Source, any>
listenersExpr: string
map: Map
node: any
nodelayerExpr: string
properties: Object
rootScope_: IScope
state_: string
uid: string

Methods

  • getCalculateState(): string
  • Return the current state, calculate on all its children recursively.

    Returns string

    'on', 'off' or 'indeterminate'.

  • getDataSource(): DataSource
  • getSetActive(val: boolean): boolean
  • getState(): string
  • setDataSource(dataSource: DataSource): void
  • setState(state: string, opt_broadcast: boolean): 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'.

    • opt_broadcast: boolean

    Returns void

  • setStateInternal_(state: string): void
  • traverseDepthFirst(visitor: Visitor): boolean
  • 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