Properties

$timeout_: ITimeoutService
dataLayerGroup_: LayerGroup
dimensions: {}

Type declaration

    gmfDataSourceBeingFiltered: any
    gmfExternalDataSourcesManager: any
    gmfLayerBeingSwipe: any
    gmfPermalink_: any
    gmfSyncLayertreeMap_: any
    gmfThemes_: any
    gmfTreeManager_: any
    groupNodeStates_: {}

    Type declaration

      layerHelper_: LayerHelper
      layers: BaseLayer[]
      map: Map
      ngeoWMSTime_: WMSTime
      options: any
      root: any
      scope_: IScope

      Methods

      • Update the layers order in the map and the treeCtrl in the treeManager after a reorder of the first-level groups. Then update the permalink.

        Returns void

      • Opens a openIframePopup with the content of the metadata url of a node.

        Parameters

        Returns void

      • Use the gmfSyncLayertreeMap_ to create and get layer corresponding to this treeCtrl. The layer will be inserted into the map. The layer can be null if the treeCtrl is based on a node inside a mixed node. It this case, the layer will be in the first parent declared as a mixed node.

        Parameters

        Returns BaseLayer | LayerGroup

        The OpenLayers layer or group for the node.

      • Get the icon image URL for the given treeCtrl's layer. It can only return a string for internal WMS layers without multiple childlayers in the node.

        Parameters

        Returns string

        The icon legend URL or undefined.

      • Get the legends object (<LayerName: url> for each layer) for the given treeCtrl.

        Parameters

        Returns {}

        A <layerName: url> object that provides a layer for each layer.

        • Return the current state of the given treeCtrl's node. Return a class name that match with the current node activation state.

          Parameters

          Returns string

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

        • Get the number of legends object for this layertree controller.

          Parameters

          Returns number

          The number of Legends object.

        • Return 'out-of-resolution' if the current resolution of the map is out of the min/max resolution in the node.

          Parameters

          • gmfLayer: any

            the GeoMapFish Layer. WMTS layer is also allowed (the type is defined as GmfLayerWMS only to avoid some useless tests to know if a minResolutionHint property can exist on the node).

          Returns string

          'out-of-resolution' or undefined.

        • Parameters

          • legendNodeId: string

            The DOM node legend id

          Returns boolean

          Whenever the legend is currently displayed.

        • Is snapping activated for this LayertreeController

          Parameters

          Returns boolean

          True if snapping is activated for that layer.

        • Remove layer from this component's layergroup (and then, from the map) on a ngeo layertree destroy event.

          Parameters

          • scope: IScope

            treeCtrl scope.

          • treeCtrl: LayertreeController

            ngeo layertree controller, from the current node.

          Returns void

        • Determines whether the layer tree controller supports being customized. For example, having its layer opacity changed, displaying its legend, etc.

          If any requirement is met, then the treeCtrl is considered supporting "customization", regardless of what it actually is.

          The requirements are:

          • must not be the root controller, any of the following:
            • it supports legend
            • it supports having the layer opacity being changed

          Parameters

          Returns boolean

          Whether the layer tree controller supports being "customized" or not.

        • Parameters

          Returns boolean

          Whether the layer tree controller supports having its layer opacity being changed or not.

        • Toggle the legend for a node

          Parameters

          • legendNodeId: string

            The DOM node legend id to toggle

          Returns void

        • Toggle the menu for a node

          Parameters

          • menuNodeId: string

            The DOM node menu id to toggle

          Returns void

        toggleSwipeLayer
        • Parameters

          • layer: Layer<Source, LayerRenderer<any>>

            Layer to update.

          • node: any

            Layer tree node.

          Returns void

        • Update the timeRangeValue property of the data source bound to the given tree controller and the state of the permalink using the given time.

          LayertreeController.prototype.updateTimeData - description

          Parameters

          • layertreeCtrl: LayertreeController

            ngeo layertree controller

          • time: TimeRange

            The start and optionally the end datetime (for time range selection) selected by user

          Returns void

        • Update the timeRangeValue property of the data source bound to the given tree controller using the given time. If the tree controller has no data source, it means that it has children and they might have data sources.

          The setting of the TIME parameter on the layer occurs in the gmf.datasource.Manager service

          LayertreeController.prototype.updateWMSTimeLayerState - description

          Parameters

          • layertreeCtrl: LayertreeController

            ngeo layertree controller

          • time: TimeRange

            The start and optionally the end datetime (for time range selection) selected by user

          Returns void

        • Set the resolution of the map with the max or min resolution of the node.

          Parameters

          Returns void

        Generated using TypeDoc