类 BigMap.InfoWindow
Constructor Attributes | Constructor Name and Description |
---|---|
BigMap.InfoWindow(text, options)
|
InfoWindow构造函数
|
方法属性 | 方法名称和描述 |
---|---|
获取InfoWindow窗口的内容
|
|
setContent(content)
|
给InfoWindow设置新的内容
|
close()
|
关闭InfoWindow窗口
|
类 详情
BigMap.InfoWindow(text, options)
InfoWindow构造函数
- Parameters:
- {string} text
- 要显示的内容
- {json} options
{
title:"string 标题",
width:"number 宽度",
borderRadius:"number 边框弧度",
offset:"array 偏移数组"
}
方法详情
{html}
getContent()
获取InfoWindow窗口的内容
- Returns:
- {html} [HTML代码]
setContent(content)
给InfoWindow设置新的内容
- Parameters:
- {string} content
- [新的内容(Html格式)]
close()
关闭InfoWindow窗口