Options
All
  • Public
  • Public/Protected
  • All
Menu

Base implementation of a VisualizationProviderBase. Not implemented.

Hierarchy

  • VisualizationProviderBase

Index

Constructors

constructor

Properties

app

The {@link geocortex.framework.application.Application} that this provider belongs to.

currentLayer

currentLayer: Observable<Layer>

The current geocortex layer this provider is providing visualization options for.

displayName

displayName: string

The display name for this provider.

enabledVisualization

enabledVisualization: VisualizationInfo

The currently enabled visualization for this provider, if any

isEnabled

isEnabled: Observable<boolean>

Whether or not this provider is enabled for the current layer.

isSupported

isSupported: Observable<boolean>

Whether or not this provider is supported for the current layer.

libraryId

libraryId: string

The ID of the library that this provider belongs to.

viewId

viewId: string

The ID of the view handling the visualization options for this provider.

visualizations

visualizations: VisualizationInfo[]

The information about the visualizations provided by this provider in the visualization options.

Methods

canSupport

  • canSupport(gcxLayer: Layer): boolean
  • Whether or not the given layer supports this visualization provider.

    Parameters

    • gcxLayer: Layer

      The layer to check if it supports this visualization.

    Returns boolean

handleActivate

  • Handles how to activate the visualization for the current layer.

    Parameters

    Returns void

handleApply

  • handleApply(): void
  • Handles how to apply the visualization settings for the current layer.

    Returns void

handleCurrentLayerChanged

  • handleCurrentLayerChanged(gcxLayer: Layer): void
  • Handles updating the provider settings for the layer being set. This involves setting whether this visualization is enabled and supported for the given layer.

    Parameters

    • gcxLayer: Layer

      The current layer.

    Returns void

handleReset

  • handleReset(): void
  • Handles how to reset the visualization settings for the current layer.

    Returns void

initialize

  • Initialize the provider.

    Parameters

    Returns void