Constructor
new Roaming(viewer)
- Description:
构造函数
- Source:
Parameters:
Name | Type | Description |
---|---|---|
viewer |
Object | 地图场景对象 |
Methods
continue()
- Description:
继续漫游
- Source:
pause()
- Description:
暂停漫游
- Source:
(async) play(points, timesopt, path)
- Description:
按照路径节点,自动执行第一人称路径漫游动画
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
points |
Array.<DegreePosZ> | 路径相机位置点集合 |
||
times |
Array.<Number> |
<optional> |
null
|
时间集合,时间戳:毫秒),注意:如果要定义,请确保时间集合与路径点一一对应;若设置为null,则默认间隔为10s的时间集合 |
path |
Boolean | 是否显示路径线 |
removeAll()
- Description:
清除所有
- Source: