Search
Preparing search index...
The search index is not available
@types/amap-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@types/amap-js-sdk
AMap
Polygon
Class Polygon
Hierarchy
EventBindable
Polygon
Index
Constructors
constructor
Methods
contains
get
Area
get
Bounds
get
Ext
Data
get
Options
get
Path
hide
off
on
set
Ext
Data
set
Map
set
Options
set
Path
show
Constructors
constructor
new
Polygon
(
options
?:
PolygonOptions
)
:
Polygon
Parameters
Optional
options:
PolygonOptions
Returns
Polygon
Methods
contains
contains
(
point
:
LngLat
)
:
boolean
Parameters
point:
LngLat
Returns
boolean
get
Area
get
Area
(
)
:
number
Returns
number
get
Bounds
get
Bounds
(
)
:
Bounds
Returns
Bounds
get
Ext
Data
get
Ext
Data
(
)
:
any
Returns
any
get
Options
get
Options
(
)
:
PolygonOptions
Returns
PolygonOptions
get
Path
get
Path
(
)
:
LngLat
[]
|
LngLat
[]
[]
Returns
LngLat
[]
|
LngLat
[]
[]
hide
hide
(
)
:
void
Returns
void
off
off
(
eventName
:
string
, callback
:
EventCallback
)
:
void
Parameters
eventName:
string
callback:
EventCallback
Returns
void
on
on
(
eventName
:
string
, callback
:
EventCallback
)
:
void
Parameters
eventName:
string
callback:
EventCallback
Returns
void
set
Ext
Data
set
Ext
Data
(
ext
:
any
)
:
void
Parameters
ext:
any
Returns
void
set
Map
set
Map
(
map
:
Map
)
:
void
Parameters
map:
Map
Returns
void
set
Options
set
Options
(
opt
:
PolygonOptions
)
:
void
Parameters
opt:
PolygonOptions
Returns
void
set
Path
set
Path
(
path
:
LngLat
[]
|
LngLat
[]
[]
)
:
void
Parameters
path:
LngLat
[]
|
LngLat
[]
[]
Returns
void
show
show
(
)
:
void
Returns
void
Exports
Externals
AMap
AMap.
Tile
Layer
AMap.event
Polygon
constructor
contains
get
Area
get
Bounds
get
Ext
Data
get
Options
get
Path
hide
off
on
set
Ext
Data
set
Map
set
Options
set
Path
show
Generated using
TypeDoc