new ScanCirclePrimitive(position, radius)
overlay/primitive/ScanCirclePrimitive.js, line 25
Name | Type | Description |
---|---|---|
position |
Position |
坐标 |
radius |
Number |
半径 |
Extends
Classes
Members
-
attr
-
覆盖物的额外属性设置
-
readonlydelegate
-
覆盖物的代理对象
-
id
-
设置覆盖物的业务 id
-
readonlyoverlayEvent
-
覆盖物的事件对象
-
readonlyoverlayId
-
覆盖物唯一标识
-
show
-
覆盖物的可见性
-
readonlystate
-
覆盖物的状态
Methods
-
添加到指定图层
Name Type Description layer
EntityLayer 指定图层
Returns:
Type Description Overlay -
触发事件
Name Type Description type
* params
* Returns:
Type Description Overlay -
注销事件
Name Type Description type
* 事件类型
callback
* 监听回调
context
* Returns:
Type Description Overlay -
注册事件
Name Type Description type
* 事件类型
callback
* 监听回调
context
* Returns:
Type Description Overlay -
从图层上移出
Returns:
Type Description Overlay -
设置文字标签
Name Type Description text
Property | string 指定文本的属性。支持显式换行符'\ n'。
textStyle
Object text 样式
Returns:
Type Description Overlay -
setStyle(style){ScanCirclePrimitive}
overlay/primitive/ScanCirclePrimitive.js, line 84 -
设置动画样式
Name Type Description style
Object 动画样式
Returns:
Type Description ScanCirclePrimitive