GeoLeaf Core API - v3.0.0
Preparing search index...
kernel/layer-manager/style-selector
StyleSelector
Variable StyleSelector
Const
StyleSelector
:
{
getCurrentStyle
(
layerId
:
string
)
:
string
|
null
;
setCurrentStyle
(
layerId
:
string
,
styleId
:
string
)
:
void
;
renderDOM
(
item
:
LayerItemForStyle
)
:
HTMLElement
|
null
;
bindEvents
(
container
:
HTMLElement
,
item
:
LayerItemForStyle
)
:
void
;
applyStyle
(
layerId
:
string
,
styleId
:
string
)
:
Promise
<
void
>
;
}
= _LayerManagerStyleSelector
Type Declaration
getCurrentStyle
:
function
getCurrentStyle
(
layerId
:
string
)
:
string
|
null
Parameters
layerId
:
string
Returns
string
|
null
setCurrentStyle
:
function
setCurrentStyle
(
layerId
:
string
,
styleId
:
string
)
:
void
Parameters
layerId
:
string
styleId
:
string
Returns
void
renderDOM
:
function
renderDOM
(
item
:
LayerItemForStyle
)
:
HTMLElement
|
null
Parameters
item
:
LayerItemForStyle
Returns
HTMLElement
|
null
bindEvents
:
function
bindEvents
(
container
:
HTMLElement
,
item
:
LayerItemForStyle
)
:
void
Parameters
container
:
HTMLElement
item
:
LayerItemForStyle
Returns
void
applyStyle
:
function
applyStyle
(
layerId
:
string
,
styleId
:
string
)
:
Promise
<
void
>
Parameters
layerId
:
string
styleId
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GeoLeaf Core API - v3.0.0
Loading...