@honua/sdk-js
Preparing search index...
client-compat-entry
GraphicsLayerCompat
Class GraphicsLayerCompat
Index
Constructors
constructor
Properties
event
Bus
id
list
Mode
loaded
load
Status
opacity
title
type
visible
Accessors
graphics
Methods
add
add
Many
destroy
load
on
query
Feature
Count
query
Features
remove
remove
All
remove
Many
set
Opacity
set
Visibility
watch
when
Constructors
constructor
new
GraphicsLayerCompat
(
options
?:
GraphicsLayerCompatOptions
,
)
:
GraphicsLayerCompat
Parameters
options
:
GraphicsLayerCompatOptions
= {}
Returns
GraphicsLayerCompat
Properties
Readonly
event
Bus
eventBus
:
CompatEventBus
id
id
:
string
|
undefined
list
Mode
listMode
:
"show"
|
"hide"
loaded
loaded
:
boolean
load
Status
loadStatus
:
GraphicsLayerLoadStatusCompat
opacity
opacity
:
number
title
title
:
string
|
undefined
Readonly
type
type
:
"graphics"
visible
visible
:
boolean
Accessors
graphics
get
graphics
()
:
readonly
unknown
[]
Returns
readonly
unknown
[]
Methods
add
add
(
graphic
:
unknown
,
index
?:
number
)
:
unknown
Parameters
graphic
:
unknown
Optional
index
:
number
Returns
unknown
add
Many
addMany
(
graphics
:
readonly
unknown
[]
,
index
?:
number
)
:
readonly
unknown
[]
Parameters
graphics
:
readonly
unknown
[]
Optional
index
:
number
Returns
readonly
unknown
[]
destroy
destroy
()
:
void
Returns
void
load
load
()
:
Promise
<
GraphicsLayerCompat
>
Returns
Promise
<
GraphicsLayerCompat
>
on
on
(
eventName
:
string
,
listener
:
(
event
:
unknown
)
=>
void
,
)
:
GraphicsLayerHandleCompat
Parameters
eventName
:
string
listener
:
(
event
:
unknown
)
=>
void
Returns
GraphicsLayerHandleCompat
query
Feature
Count
queryFeatureCount
()
:
Promise
<
number
>
Returns
Promise
<
number
>
query
Features
queryFeatures
()
:
Promise
<
GraphicsLayerQueryResult
>
Returns
Promise
<
GraphicsLayerQueryResult
>
remove
remove
(
graphic
:
unknown
)
:
unknown
Parameters
graphic
:
unknown
Returns
unknown
remove
All
removeAll
()
:
void
Returns
void
remove
Many
removeMany
(
graphics
:
readonly
unknown
[]
)
:
unknown
[]
Parameters
graphics
:
readonly
unknown
[]
Returns
unknown
[]
set
Opacity
setOpacity
(
opacity
:
number
)
:
void
Parameters
opacity
:
number
Returns
void
set
Visibility
setVisibility
(
visible
:
boolean
)
:
void
Parameters
visible
:
boolean
Returns
void
watch
watch
(
propertyName
:
string
,
listener
:
(
value
:
unknown
)
=>
void
,
)
:
GraphicsLayerHandleCompat
Parameters
propertyName
:
string
listener
:
(
value
:
unknown
)
=>
void
Returns
GraphicsLayerHandleCompat
when
when
(
callback
?:
(
layer
:
GraphicsLayerCompat
)
=>
void
,
)
:
Promise
<
GraphicsLayerCompat
>
Parameters
Optional
callback
:
(
layer
:
GraphicsLayerCompat
)
=>
void
Returns
Promise
<
GraphicsLayerCompat
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
event
Bus
id
list
Mode
loaded
load
Status
opacity
title
type
visible
Accessors
graphics
Methods
add
add
Many
destroy
load
on
query
Feature
Count
query
Features
remove
remove
All
remove
Many
set
Opacity
set
Visibility
watch
when
@honua/sdk-js
Loading...