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
InfoWindow
Class InfoWindow
Hierarchy
EventBindable
InfoWindow
Index
Constructors
constructor
Methods
close
get
Content
get
IsOpen
get
Position
get
Size
off
on
open
set
Content
set
Position
set
Size
Constructors
constructor
new
Info
Window
(
options
?:
{
autoMove
?:
boolean
;
closeWhenClickMap
?:
boolean
;
content
?:
string
|
HTMLElement
;
isCustom
?:
boolean
;
offset
?:
Pixel
;
position
?:
LngLat
;
showShadow
?:
boolean
;
size
?:
Size
}
)
:
InfoWindow
Parameters
Optional
options:
{
autoMove
?:
boolean
;
closeWhenClickMap
?:
boolean
;
content
?:
string
|
HTMLElement
;
isCustom
?:
boolean
;
offset
?:
Pixel
;
position
?:
LngLat
;
showShadow
?:
boolean
;
size
?:
Size
}
Optional
auto
Move
?:
boolean
Optional
close
When
Click
Map
?:
boolean
Optional
content
?:
string
|
HTMLElement
Optional
is
Custom
?:
boolean
Optional
offset
?:
Pixel
Optional
position
?:
LngLat
Optional
show
Shadow
?:
boolean
Optional
size
?:
Size
Returns
InfoWindow
Methods
close
close
(
)
:
void
Returns
void
get
Content
get
Content
(
)
:
string
Returns
string
get
IsOpen
get
IsOpen
(
)
:
boolean
Returns
boolean
get
Position
get
Position
(
)
:
LngLat
Returns
LngLat
get
Size
get
Size
(
)
:
Size
Returns
Size
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
open
open
(
map
:
Map
, pos
:
LngLat
)
:
void
Parameters
map:
Map
pos:
LngLat
Returns
void
set
Content
set
Content
(
content
:
string
|
HTMLElement
)
:
void
Parameters
content:
string
|
HTMLElement
Returns
void
set
Position
set
Position
(
lnglat
:
LngLat
)
:
void
Parameters
lnglat:
LngLat
Returns
void
set
Size
set
Size
(
size
:
Size
)
:
void
Parameters
size:
Size
Returns
void
Exports
Externals
AMap
AMap.
Tile
Layer
AMap.event
Info
Window
constructor
close
get
Content
get
IsOpen
get
Position
get
Size
off
on
open
set
Content
set
Position
set
Size
Generated using
TypeDoc