Search
Preparing search index...
The search index is not available
Sintium
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"sintium/Modules/Layer/Handlers/VectorLayerStyleHandler"
VectorLayerStyleHandler
Class VectorLayerStyleHandler
Hierarchy
VectorLayerStyleHandler
Implements
IVectorLayerStyleHandler
Index
Constructors
constructor
Properties
_add
Point
ToGeometries
_color
Repository
_layer
Container
_mediator
_selected
Style
Cache
_style
Cache
Methods
_evaluate
Colors
_generate
Styles
_get
Color
_get
Point
Style
With
Correct
Geometry
_get
Text
initialize
style
Function
get
Contrast
Text
Color
Constructors
constructor
new
Vector
Layer
Style
Handler
(
mediator
:
IMediator
, colorRepository
:
IColorRepository
, styleCache
:
IStyleCache
, selectedStyleCache
:
IStyleCache
)
:
VectorLayerStyleHandler
Parameters
mediator:
IMediator
colorRepository:
IColorRepository
styleCache:
IStyleCache
selectedStyleCache:
IStyleCache
Returns
VectorLayerStyleHandler
Properties
Private
_add
Point
ToGeometries
_add
Point
ToGeometries
:
boolean
Private
_color
Repository
_color
Repository
:
IColorRepository
Private
_layer
Container
_layer
Container
:
IVectorLayerContainer
Private
_mediator
_mediator
:
IMediator
Private
_selected
Style
Cache
_selected
Style
Cache
:
IStyleCache
Private
_style
Cache
_style
Cache
:
IStyleCache
Methods
Private
_evaluate
Colors
_evaluate
Colors
(
dataSource
:
IDataSourceV2
, column
:
string
, columnValue
:
string
, options
:
any
)
:
any
Parameters
dataSource:
IDataSourceV2
column:
string
columnValue:
string
options:
any
Returns
any
Private
_generate
Styles
_generate
Styles
(
column
:
string
, columnValue
?:
string
)
:
void
Parameters
column:
string
Optional
columnValue:
string
Returns
void
Private
_get
Color
_get
Color
(
dataSource
:
IDataSourceV2
, column
:
string
, columnValue
:
string
)
:
string
Parameters
dataSource:
IDataSourceV2
column:
string
columnValue:
string
Returns
string
Private
_get
Point
Style
With
Correct
Geometry
_get
Point
Style
With
Correct
Geometry
(
styleCache
:
IStyleCache
, feature
:
Feature
, text
:
string
|
null
, columnValue
?:
string
)
:
Style
Parameters
styleCache:
IStyleCache
feature:
Feature
text:
string
|
null
Optional
columnValue:
string
Returns
Style
Private
_get
Text
_get
Text
(
styleCache
:
IStyleCache
, feature
:
Feature
)
:
string
|
null
Parameters
styleCache:
IStyleCache
feature:
Feature
Returns
string
|
null
initialize
initialize
(
layerContainer
:
IVectorLayerContainer
)
:
void
Parameters
layerContainer:
IVectorLayerContainer
Returns
void
style
Function
style
Function
(
feature
:
Feature
, resolution
?:
number
)
:
Style
[]
Parameters
feature:
Feature
Optional
resolution:
number
Returns
Style
[]
Static
Private
get
Contrast
Text
Color
get
Contrast
Text
Color
(
fillColorChroma
:
chroma
)
:
any
Parameters
fillColorChroma:
chroma
Returns
any
Globals
"sintium/
Modules/
Layer/
Handlers/
Vector
Layer
Style
Handler"
Vector
Layer
Style
Handler
constructor
_add
Point
ToGeometries
_color
Repository
_layer
Container
_mediator
_selected
Style
Cache
_style
Cache
_evaluate
Colors
_generate
Styles
_get
Color
_get
Point
Style
With
Correct
Geometry
_get
Text
initialize
style
Function
get
Contrast
Text
Color
Generated using
TypeDoc