Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LayerGroup

Hierarchy

  • LayerGroup

Index

Constructors

constructor

Properties

addCheck

addCheck: boolean

allGroupArray

allGroupArray: any

allGroupLookup

allGroupLookup: any

allLayerArray

allLayerArray: any

allLayerLookup

allLayerLookup: any

collapse

collapse: boolean

groupGroups

groupGroups: any

groupGroupsLookup

groupGroupsLookup: any

groupId

groupId: any

groupLayers

groupLayers: any

groupLayersLookup

groupLayersLookup: any

groupName

groupName: any

itemIdArray

itemIdArray: any

layerParentLookup

layerParentLookup: any

parent

parent: any

Methods

_buildLegend

  • _buildLegend(itemIds: string[], theGroup: LayerGroup, layerDivClasses: string[]): string
  • static

    Parameters

    • itemIds: string[]

      the items to process

    • theGroup: LayerGroup

      new group

    • layerDivClasses: string[]

    Returns string

    html string

addGroup

  • Parameters

    • groupConfig: iLegendItem

      configuration object

    • parents: string[]

      parent groups

    Returns LayerGroup

    the layer group just added

addLegendLayer

  • addLegendLayer(newLayer: LayerBase, parents: string[]): void
  • Parameters

    • newLayer: LayerBase

      the layer to be added

    • parents: string[]

      array

    Returns void

getLegendHtml

  • Parameters

    Returns string

Generated using TypeDoc