Options
All
  • Public
  • Public/Protected
  • All
Menu

FilterSelector Controller

Used metadata:

  • directedFilterAttributes: List of attribute names which should have rules already ready when using the filter tools. For WMS layers.

Used functionalities:

  • preset_layer_filter: Name of the layer (data source) that should be toggled in the filter tool upon loading an application. Note: although this is a list, only one can be defined.
  • filterable_layers: A list of layer names that can be filtered, if empty the component will be hidden.

Hierarchy

  • FilterSelectorController

Index

Constructors

  • new FilterSelectorController($scope: IScope, $timeout: ITimeoutService, gettextCatalog: gettextCatalog, gmfDataSourceBeingFiltered: any, gmfDataSourcesHelper: any, gmfSavedFilters: any, ngeoRuleHelper: RuleHelper): FilterSelectorController
  • nginject
    ngdoc

    controller

    ngname

    GmfFilterselectorController

    Parameters

    • $scope: IScope

      Angular scope.

    • $timeout: ITimeoutService

      Angular timeout service.

    • gettextCatalog: gettextCatalog

      Gettext catalog.

    • gmfDataSourceBeingFiltered: any
      The Gmf value service that determines the data source currently being filtered.
      
    • gmfDataSourcesHelper: any

      Gmf data sources helper service.

    • gmfSavedFilters: any

      Gmf saved filters service.

    • ngeoRuleHelper: RuleHelper

      Ngeo rule helper service.

    Returns FilterSelectorController

Properties

aRuleIsActive: boolean
active: boolean
customRules: default[]
directedRules: default[]
enableDataSourceRegistration_: boolean
featureOverlay: FeatureOverlay
filtrableDataSources: any[]
gmfDataSourceBeingFiltered: any

The data source that can either be selected from the list or have its value set from an external source (for example: the layertree) and that requires to be ready before it can be filtered.

gmfSavedFilters: any
map: Map
readyDataSource: any

The data source ready to be filtered, after it has been selected and prepared.

saveFilterManageModalShown: boolean
saveFilterName: string
saveFilterSaveModalShown: boolean
toolGroup: string

Methods

  • $onDestroy(): void

Generated using TypeDoc