@honua/sdk-js
Preparing search index...
client-compat-entry
LegendCompat
Class LegendCompat
Index
Constructors
constructor
Properties
container
event
Bus
include
Hidden
items
loaded
load
Status
map
view
Methods
attach
Container
destroy
load
refresh
watch
when
Constructors
constructor
new
LegendCompat
(
options
?:
LegendCompatOptions
)
:
LegendCompat
Parameters
options
:
LegendCompatOptions
= {}
Returns
LegendCompat
Properties
container
container
:
unknown
Readonly
event
Bus
eventBus
:
CompatEventBus
Readonly
include
Hidden
includeHidden
:
boolean
items
items
:
LegendLayerGroupCompat
[]
loaded
loaded
:
boolean
load
Status
loadStatus
:
LegendLoadStatusCompat
Readonly
map
map
:
unknown
Readonly
view
view
:
unknown
Methods
attach
Container
attachContainer
(
element
:
HTMLElement
)
:
void
Parameters
element
:
HTMLElement
Returns
void
destroy
destroy
()
:
void
Returns
void
load
load
()
:
Promise
<
LegendCompat
>
Returns
Promise
<
LegendCompat
>
refresh
refresh
()
:
Promise
<
readonly
LegendLayerGroupCompat
[]
>
Returns
Promise
<
readonly
LegendLayerGroupCompat
[]
>
watch
watch
(
propertyName
:
string
,
listener
:
(
value
:
unknown
)
=>
void
,
)
:
LegendHandleCompat
Parameters
propertyName
:
string
listener
:
(
value
:
unknown
)
=>
void
Returns
LegendHandleCompat
when
when
(
callback
?:
(
widget
:
LegendCompat
)
=>
void
)
:
Promise
<
LegendCompat
>
Parameters
Optional
callback
:
(
widget
:
LegendCompat
)
=>
void
Returns
Promise
<
LegendCompat
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
container
event
Bus
include
Hidden
items
loaded
load
Status
map
view
Methods
attach
Container
destroy
load
refresh
watch
when
@honua/sdk-js
Loading...