Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

Class: Road

Road


new Road(sdk, options, Dialog)

道路
Parameters:
Name Type Description
sdk
options object 道路属性
Properties
Name Type Default Description
name string 未命名对象 名称
carRoadWidth number 2 车道宽度
sideWidth number 2 人行道宽度
positions array [ 道路positions
roadImage string '' 车道贴图
sideImage string '' 人行道贴图
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除

<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除