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/BigVectorLayerStyleHandler"
BigVectorLayerStyleHandler
Class BigVectorLayerStyleHandler
Hierarchy
BigVectorLayerStyleHandler
Implements
IBigVectorLayerStyleHandler
Index
Constructors
constructor
Properties
_color
Repository
_mediator
_selected
Style
Cache
_style
Cache
_z
Index
Methods
_copy
Style
Options
_create
Style
With
Point
AtFirst
Coordinate
OfGeometry
_evaluate
Colors
_evaluate
Colors
For
Column
_feature
IsPoint
_generate
Cluster
Style
_generate
Point
Style
_generate
Single
Feature
Style
_get
Single
Feature
Type
initialize
For
Layer
Container
style
Function
_generate
Circle
Shape
Point
Style
_generate
Other
Style
_generate
Rombus
Shape
Point
Style
_generate
Text
Under
Feature
_generate
Triangle
Shape
Point
Style
_get
Contrast
Text
Color
Constructors
constructor
new
Big
Vector
Layer
Style
Handler
(
colorRepository
:
IColorRepository
, mediator
:
IMediator
)
:
BigVectorLayerStyleHandler
Parameters
colorRepository:
IColorRepository
mediator:
IMediator
Returns
BigVectorLayerStyleHandler
Properties
Private
_color
Repository
_color
Repository
:
IColorRepository
Private
_mediator
_mediator
:
IMediator
Private
_selected
Style
Cache
_selected
Style
Cache
:
any
Private
_style
Cache
_style
Cache
:
any
Private
_z
Index
_z
Index
:
number
= 0
Methods
Private
_copy
Style
Options
_copy
Style
Options
(
styleOptions
:
IPrototypeVectorLayerStyle
)
:
IPrototypeVectorLayerStyle
Parameters
styleOptions:
IPrototypeVectorLayerStyle
Returns
IPrototypeVectorLayerStyle
Private
_create
Style
With
Point
AtFirst
Coordinate
OfGeometry
_create
Style
With
Point
AtFirst
Coordinate
OfGeometry
(
dataSource
:
IDataSourceV2
, feature
:
Feature
, styleOptions
:
IPrototypeVectorLayerStyle
, selected
:
boolean
)
:
Style
Parameters
dataSource:
IDataSourceV2
feature:
Feature
styleOptions:
IPrototypeVectorLayerStyle
selected:
boolean
Returns
Style
Private
_evaluate
Colors
_evaluate
Colors
(
dataSource
:
IDataSourceV2
, styleOptions
:
IPrototypeVectorLayerStyle
)
:
IPrototypeVectorLayerStyle
Parameters
dataSource:
IDataSourceV2
styleOptions:
IPrototypeVectorLayerStyle
Returns
IPrototypeVectorLayerStyle
Private
_evaluate
Colors
For
Column
_evaluate
Colors
For
Column
(
dataSource
:
IDataSourceV2
, styleOptions
:
IPrototypeVectorLayerStyle
, clusterByProperty
:
string
, clusterByPropertyValue
:
string
)
:
IPrototypeVectorLayerStyle
Parameters
dataSource:
IDataSourceV2
styleOptions:
IPrototypeVectorLayerStyle
clusterByProperty:
string
clusterByPropertyValue:
string
Returns
IPrototypeVectorLayerStyle
Private
_feature
IsPoint
_feature
IsPoint
(
feature
:
Feature
)
:
boolean
Parameters
feature:
Feature
Returns
boolean
Private
_generate
Cluster
Style
_generate
Cluster
Style
(
dataSource
:
IDataSourceV2
, feature
:
Feature
, styleOptions
:
IPrototypeVectorLayerStyle
, selected
:
boolean
)
:
any
Parameters
dataSource:
IDataSourceV2
feature:
Feature
styleOptions:
IPrototypeVectorLayerStyle
selected:
boolean
Returns
any
Private
_generate
Point
Style
_generate
Point
Style
(
dataSource
:
IDataSourceV2
, feature
:
Feature
, options
:
any
, selected
:
boolean
)
:
any
Parameters
dataSource:
IDataSourceV2
feature:
Feature
options:
any
selected:
boolean
Returns
any
Private
_generate
Single
Feature
Style
_generate
Single
Feature
Style
(
dataSource
:
IDataSourceV2
, feature
:
Feature
, styleOptions
:
IPrototypeVectorLayerStyle
, selected
:
boolean
)
:
any
Parameters
dataSource:
IDataSourceV2
feature:
Feature
styleOptions:
IPrototypeVectorLayerStyle
selected:
boolean
Returns
any
Private
_get
Single
Feature
Type
_get
Single
Feature
Type
(
feature
:
Feature
)
:
string
Parameters
feature:
Feature
Returns
string
initialize
For
Layer
Container
initialize
For
Layer
Container
(
layerContainer
:
IBigVectorLayerContainer
)
:
void
Parameters
layerContainer:
IBigVectorLayerContainer
Returns
void
style
Function
style
Function
(
layerContainer
:
IBigVectorLayerContainer
, feature
:
Feature
, resolution
:
number
)
:
Style
[]
Parameters
layerContainer:
IBigVectorLayerContainer
feature:
Feature
resolution:
number
Returns
Style
[]
Static
Private
_generate
Circle
Shape
Point
Style
_generate
Circle
Shape
Point
Style
(
fill
:
Fill
, stroke
:
Stroke
, pointSize
:
number
, selected
:
boolean
)
:
any
Parameters
fill:
Fill
stroke:
Stroke
pointSize:
number
selected:
boolean
Returns
any
Static
Private
_generate
Other
Style
_generate
Other
Style
(
styleOptions
:
any
, selected
:
boolean
)
:
Style
Parameters
styleOptions:
any
selected:
boolean
Returns
Style
Static
Private
_generate
Rombus
Shape
Point
Style
_generate
Rombus
Shape
Point
Style
(
fill
:
Fill
, stroke
:
Stroke
, size
:
number
, selected
:
boolean
)
:
Style
Parameters
fill:
Fill
stroke:
Stroke
size:
number
selected:
boolean
Returns
Style
Static
Private
_generate
Text
Under
Feature
_generate
Text
Under
Feature
(
value
:
string
, offset
?:
number
)
:
Text
Parameters
value:
string
Default value
offset:
number
= 12
Returns
Text
Static
Private
_generate
Triangle
Shape
Point
Style
_generate
Triangle
Shape
Point
Style
(
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
_get
Contrast
Text
Color
_get
Contrast
Text
Color
(
fillColorChroma
:
chroma
)
:
any
Parameters
fillColorChroma:
chroma
Returns
any
Globals
"sintium/
Modules/
Layer/
Handlers/
Big
Vector
Layer
Style
Handler"
Big
Vector
Layer
Style
Handler
constructor
_color
Repository
_mediator
_selected
Style
Cache
_style
Cache
_z
Index
_copy
Style
Options
_create
Style
With
Point
AtFirst
Coordinate
OfGeometry
_evaluate
Colors
_evaluate
Colors
For
Column
_feature
IsPoint
_generate
Cluster
Style
_generate
Point
Style
_generate
Single
Feature
Style
_get
Single
Feature
Type
initialize
For
Layer
Container
style
Function
_generate
Circle
Shape
Point
Style
_generate
Other
Style
_generate
Rombus
Shape
Point
Style
_generate
Text
Under
Feature
_generate
Triangle
Shape
Point
Style
_get
Contrast
Text
Color
Generated using
TypeDoc