Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VectorLayerStyleHandler

Implements

Index

Constructors

constructor

Properties

Private _addPointToGeometries

_addPointToGeometries: boolean

Private _colorRepository

_colorRepository: IColorRepository

Private _layerContainer

_layerContainer: IVectorLayerContainer

Private _mediator

_mediator: IMediator

Private _selectedStyleCache

_selectedStyleCache: IStyleCache

Private _styleCache

_styleCache: IStyleCache

Methods

Private _evaluateColors

  • _evaluateColors(dataSource: IDataSourceV2, column: string, columnValue: string, options: any): any
  • Parameters

    • dataSource: IDataSourceV2
    • column: string
    • columnValue: string
    • options: any

    Returns any

Private _generateStyles

  • _generateStyles(column: string, columnValue?: string): void
  • Parameters

    • column: string
    • Optional columnValue: string

    Returns void

Private _getColor

  • _getColor(dataSource: IDataSourceV2, column: string, columnValue: string): string
  • Parameters

    Returns string

Private _getPointStyleWithCorrectGeometry

  • _getPointStyleWithCorrectGeometry(styleCache: IStyleCache, feature: Feature, text: string | null, columnValue?: string): Style
  • Parameters

    • styleCache: IStyleCache
    • feature: Feature
    • text: string | null
    • Optional columnValue: string

    Returns Style

Private _getText

  • Parameters

    Returns string | null

initialize

styleFunction

  • styleFunction(feature: Feature, resolution?: number): Style[]

Static Private getContrastTextColor

  • getContrastTextColor(fillColorChroma: chroma): any
  • Parameters

    • fillColorChroma: chroma

    Returns any

Generated using TypeDoc