Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/ui/components/FeatureSelector/FeatureSelectorFeature"

Index

Functions

getFeatureSelectorFeature

  • getFeatureSelectorFeature(feature: Feature, showCheckbox?: boolean, showIcon?: boolean, isSelected?: boolean, cssClass?: string, isFiltered?: boolean): FeatureSelectorFeature
  • Function that takes in a Feature and returns a FeatureSelectorFeature based on the specified parameters.

    Parameters

    • feature: Feature

      The original Feature that needs to be extended.

    • Optional showCheckbox: boolean

      A boolean indicating whether or not to show a checkbox for a feature in the Feature Selector.

    • Optional showIcon: boolean

      A boolean indicating whether or not to show an icon for a feature in the Feature Selector.

    • Optional isSelected: boolean

      A boolean which indicates whether or not a feature is selected by default.

    • Optional cssClass: string

      An optional css class that can be applied to each feature.

    • Optional isFiltered: boolean

      A boolean indicating whether this feature is currently being filtered or not.

    Returns FeatureSelectorFeature