Used metadata:

  • disclaimer: The disclaimer text for this element. For WMS and WMTS layers, layer groups and themes.

Element.

Angular sce service.

Angular timeout service.

Angular rootScope.

Gettext catalog.

Ngeo Disclaimer service.

Ngeo Event Helper.

Ngeo Layer Helper.

The options.

controller

GmfDisclaimerController

Constructors

  • Used metadata:

    • disclaimer: The disclaimer text for this element. For WMS and WMTS layers, layer groups and themes.

    Parameters

    • $element: JQuery<HTMLElement>

      Element.

    • $sce: ISCEService

      Angular sce service.

    • $timeout: ITimeoutService

      Angular timeout service.

    • $rootScope: IScope

      Angular rootScope.

    • gettextCatalog: gettextCatalog

      Gettext catalog.

    • ngeoDisclaimer: MessageDisclaimerService

      Ngeo Disclaimer service.

    • ngeoEventHelper: EventHelper

      Ngeo Event Helper.

    • ngeoLayerHelper: LayerHelper

      Ngeo Layer Helper.

    • gmfDisclaimerOptions: gmfDisclaimerOptions

      The options.

    Returns DisclaimerController

    controller

    GmfDisclaimerController

Properties

dataLayerGroup_: LayerGroup
disclaimer_: MessageDisclaimerService
element_: JQuery<HTMLElement>
eventHelper_: EventHelper
gettextCatalog_: gettextCatalog
map: Map
msg: string

Trusted html messages that can be displayed as html.

msgs_: string[]
ngeoLayerHelper_: LayerHelper
rootScope_: IScope
sce_: ISCEService
timeout_: ITimeoutService
visibility: boolean

Visibility that is set to true when a new msg is there.

$inject: string[]

Methods

  • Parameters

    • layerUid: string

      Layer identifier.

    • msg: string

      Disclaimer message.

    Returns void

  • Parameters

    • layerUid: string

      Layer identifier.

    • msg: string

      Disclaimer message.

    Returns void