Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BigVectorLayerStyleHandler

Implements

Index

Constructors

constructor

Properties

Private _colorRepository

_colorRepository: IColorRepository

Private _mediator

_mediator: IMediator

Private _selectedStyleCache

_selectedStyleCache: any

Private _styleCache

_styleCache: any

Private _zIndex

_zIndex: number = 0

Methods

Private _copyStyleOptions

  • _copyStyleOptions(styleOptions: IPrototypeVectorLayerStyle): IPrototypeVectorLayerStyle
  • Parameters

    • styleOptions: IPrototypeVectorLayerStyle

    Returns IPrototypeVectorLayerStyle

Private _createStyleWithPointAtFirstCoordinateOfGeometry

  • _createStyleWithPointAtFirstCoordinateOfGeometry(dataSource: IDataSourceV2, feature: Feature, styleOptions: IPrototypeVectorLayerStyle, selected: boolean): Style
  • Parameters

    • dataSource: IDataSourceV2
    • feature: Feature
    • styleOptions: IPrototypeVectorLayerStyle
    • selected: boolean

    Returns Style

Private _evaluateColors

  • _evaluateColors(dataSource: IDataSourceV2, styleOptions: IPrototypeVectorLayerStyle): IPrototypeVectorLayerStyle
  • Parameters

    • dataSource: IDataSourceV2
    • styleOptions: IPrototypeVectorLayerStyle

    Returns IPrototypeVectorLayerStyle

Private _evaluateColorsForColumn

  • _evaluateColorsForColumn(dataSource: IDataSourceV2, styleOptions: IPrototypeVectorLayerStyle, clusterByProperty: string, clusterByPropertyValue: string): IPrototypeVectorLayerStyle
  • Parameters

    • dataSource: IDataSourceV2
    • styleOptions: IPrototypeVectorLayerStyle
    • clusterByProperty: string
    • clusterByPropertyValue: string

    Returns IPrototypeVectorLayerStyle

Private _featureIsPoint

  • _featureIsPoint(feature: Feature): boolean
  • Parameters

    Returns boolean

Private _generateClusterStyle

  • _generateClusterStyle(dataSource: IDataSourceV2, feature: Feature, styleOptions: IPrototypeVectorLayerStyle, selected: boolean): any
  • Parameters

    • dataSource: IDataSourceV2
    • feature: Feature
    • styleOptions: IPrototypeVectorLayerStyle
    • selected: boolean

    Returns any

Private _generatePointStyle

  • _generatePointStyle(dataSource: IDataSourceV2, feature: Feature, options: any, selected: boolean): any
  • Parameters

    Returns any

Private _generateSingleFeatureStyle

  • _generateSingleFeatureStyle(dataSource: IDataSourceV2, feature: Feature, styleOptions: IPrototypeVectorLayerStyle, selected: boolean): any
  • Parameters

    • dataSource: IDataSourceV2
    • feature: Feature
    • styleOptions: IPrototypeVectorLayerStyle
    • selected: boolean

    Returns any

Private _getSingleFeatureType

  • _getSingleFeatureType(feature: Feature): string
  • Parameters

    Returns string

initializeForLayerContainer

styleFunction

Static Private _generateCircleShapePointStyle

  • _generateCircleShapePointStyle(fill: Fill, stroke: Stroke, pointSize: number, selected: boolean): any
  • Parameters

    • fill: Fill
    • stroke: Stroke
    • pointSize: number
    • selected: boolean

    Returns any

Static Private _generateOtherStyle

  • _generateOtherStyle(styleOptions: any, selected: boolean): Style
  • Parameters

    • styleOptions: any
    • selected: boolean

    Returns Style

Static Private _generateRombusShapePointStyle

  • _generateRombusShapePointStyle(fill: Fill, stroke: Stroke, size: number, selected: boolean): Style
  • Parameters

    • fill: Fill
    • stroke: Stroke
    • size: number
    • selected: boolean

    Returns Style

Static Private _generateTextUnderFeature

  • _generateTextUnderFeature(value: string, offset?: number): Text
  • Parameters

    • value: string
    • Default value offset: number = 12

    Returns Text

Static Private _generateTriangleShapePointStyle

  • _generateTriangleShapePointStyle(fill: Fill, stroke: Stroke, size: number, selected?: boolean): Style
  • Parameters

    • fill: Fill
    • stroke: Stroke
    • size: number
    • Default value selected: boolean = false

    Returns Style

Static Private _getContrastTextColor

  • _getContrastTextColor(fillColorChroma: chroma): any
  • Parameters

    • fillColorChroma: chroma

    Returns any

Generated using TypeDoc