Preparing search index...
The search index is not available
@honua/sdk-js
@honua/sdk-js
esri-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
Graphics
Layer
Compat
(
options
?
)
:
GraphicsLayerCompat
Parameters
options
:
GraphicsLayerCompatOptions
= {}
Returns
GraphicsLayerCompat
Properties
Readonly
event
Bus
event
Bus
:
CompatEventBus
id
id
:
undefined
|
string
list
Mode
list
Mode
:
"show"
|
"hide"
loaded
loaded
:
boolean
load
Status
load
Status
:
GraphicsLayerLoadStatusCompat
opacity
opacity
:
number
title
title
:
undefined
|
string
Readonly
type
type
visible
visible
:
boolean
Accessors
graphics
get
graphics
(
)
:
readonly
unknown
[]
Returns
readonly
unknown
[]
Methods
add
add
(
graphic
,
index
?
)
:
unknown
Parameters
graphic
:
unknown
Optional
index
:
number
Returns
unknown
add
Many
add
Many
(
graphics
,
index
?
)
:
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
,
listener
)
:
GraphicsLayerHandleCompat
Parameters
eventName
:
string
listener
:
(
(
event
:
unknown
)
=>
void
)
(
event
)
:
void
Parameters
event
:
unknown
Returns
void
Returns
GraphicsLayerHandleCompat
query
Feature
Count
query
Feature
Count
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
query
Features
query
Features
(
)
:
Promise
<
GraphicsLayerQueryResult
>
Returns
Promise
<
GraphicsLayerQueryResult
>
remove
remove
(
graphic
)
:
unknown
Parameters
graphic
:
unknown
Returns
unknown
remove
All
remove
All
(
)
:
void
Returns
void
remove
Many
remove
Many
(
graphics
)
:
unknown
[]
Parameters
graphics
:
readonly
unknown
[]
Returns
unknown
[]
set
Opacity
set
Opacity
(
opacity
)
:
void
Parameters
opacity
:
number
Returns
void
set
Visibility
set
Visibility
(
visible
)
:
void
Parameters
visible
:
boolean
Returns
void
watch
watch
(
propertyName
,
listener
)
:
GraphicsLayerHandleCompat
Parameters
propertyName
:
string
listener
:
(
(
value
:
unknown
)
=>
void
)
(
value
)
:
void
Parameters
value
:
unknown
Returns
void
Returns
GraphicsLayerHandleCompat
when
when
(
callback
?
)
:
Promise
<
GraphicsLayerCompat
>
Parameters
Optional
callback
:
(
(
layer
:
GraphicsLayerCompat
)
=>
void
)
(
layer
)
:
void
Parameters
layer
:
GraphicsLayerCompat
Returns
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...