Hierarchy

  • SyncLayertreeMap

Properties

layerHelper_: LayerHelper
ngeoWMSTime_: WMSTime
ogcServersObject_: any

Methods

  • Create insert and return a layer group (for not mixed case) or a wmsLayer (for mixed case). Take care about the insertion order in the map in case of first level group.

    Returns

    a new layer.

    Parameters

    • treeCtrl: LayertreeController

      ngeo layertree controller.

    • map: Map

      A map that contains the group to insert the not first level group layer.

    • dataLayerGroup: LayerGroup

      the layer group to insert the first level group layer.

    • Optional opt_position: number

      for first level Group, you can precise the position to add the group in the array of layers of the dataLayerGroup.

    Returns LayerGroup | ImageLayer<ImageSource>

  • Create, insert (or update) and return a layer from the GmfGroup or the GmfLayer of the given treeCtrl.

    Returns

    a new layer.

    Parameters

    • treeCtrl: LayertreeController

      ngeo layertree controller.

    • map: Map

      A map that contains the group to insert the not first level group layer.

    • dataLayerGroup: LayerGroup

      the layer group to insert the first level group layer.

    • Optional opt_position: number

      for first level Group, you can precise the position to add the group in the array of layers of the dataLayerGroup.

    Returns BaseLayer | LayerGroup

  • Create, insert and return a layer group (for not mixed case) or a wmsLayer for mixed case).

    Returns

    a new layer.

    Parameters

    • treeCtrl: LayertreeController

      ngeo layertree controller.

    • mixed: boolean

      True for a group layer, false for a WMS layer.

    Returns LayerGroup | ImageLayer<ImageSource>

  • Create and return a Tile layer.

    Returns

    a Tile WMTS layer. (Source and capabilities can come later).

    Parameters

    • gmfLayerWMTS: any

      A leaf node.

    Returns any

  • Update a WMS layer with the given treeCtrl node information. Assumes that the first parent with ogcServer information is linked to the layer to update and that this treeCtrl node is a leafNode.

    Parameters

    • treeCtrl: LayertreeController

      ngeo layertree controller.

    • map: Map

      A map that contains the layer to update.

    Returns void

  • Update properties of a layer with the node of a given leafNode.

    Parameters

    • node: any

      a tree node.

    • layer: BaseLayer

      A layer.

    Returns void

Generated using TypeDoc