@honua/sdk-js
Preparing search index...
honua
FeatureStateMap
Interface FeatureStateMap
Minimal subset of a MapLibre
Map
needed for feature-state operations.
interface
FeatureStateMap
{
getFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
)
:
Record
<
string
,
unknown
>
;
removeFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
key
?:
string
,
)
:
void
;
setFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
state
:
Record
<
string
,
unknown
>
,
)
:
void
;
}
Hierarchy (
View Summary
)
FeatureStateMap
MaplibreMap
Index
Methods
get
Feature
State
remove
Feature
State
set
Feature
State
Methods
get
Feature
State
getFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
)
:
Record
<
string
,
unknown
>
Parameters
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
Returns
Record
<
string
,
unknown
>
remove
Feature
State
removeFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
key
?:
string
,
)
:
void
Parameters
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
Optional
key
:
string
Returns
void
set
Feature
State
setFeatureState
(
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
,
state
:
Record
<
string
,
unknown
>
,
)
:
void
Parameters
target
:
{
id
:
string
|
number
;
source
:
string
;
sourceLayer
?:
string
}
state
:
Record
<
string
,
unknown
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Feature
State
remove
Feature
State
set
Feature
State
@honua/sdk-js
Loading...
Minimal subset of a MapLibre
Mapneeded for feature-state operations.