Class: WallStereoscopic

WallStereoscopic


new WallStereoscopic(sdk, options, positions, _Dialog)

电子围墙
Parameters:
Name Type Description
sdk
options object 墙属性
Properties
Name Type Default Description
name string 名称
color string "#00d9ff" 颜色
width number 1
height number 1
extrudedHeight number 10 挤出高度
cornerType string 拐角类型;ROUNDED/MITERED/BEVELED
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

Class: WallStereoscopic

WallStereoscopic


new WallStereoscopic(sdk, options, positions, _Dialog)

电子围墙
Parameters:
Name Type Description
sdk
options object 墙属性
Properties
Name Type Default Description
name string 名称
color string "#00d9ff" 颜色
width number 1
height number 1
extrudedHeight number 10 挤出高度
cornerType string 拐角类型;ROUNDED/MITERED/BEVELED
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

Class: WallStereoscopic

WallStereoscopic


new WallStereoscopic(sdk, options)

电子围墙
Parameters:
Name Type Description
sdk
options object 墙属性
Properties
Name Type Default Description
id string 唯一标识
name string 名称
color string "#00d9ff" 颜色
show boolean true 显隐
extrudedHeight number 2.4 拉伸高度
noseToTail boolean false 首尾相连
material number 0 材质,0:纯色墙;1:上升墙;2:箭头墙;3:警戒墙
duration number 1000 持续时间
positions Array.<object> 必填,经纬度和高度的列表,值交替 [{lon,lat,alt},...]
positions[].lng number 经度
positions[].lat number 纬度
positions[].alt number 高度
label object 标签对象
Properties
Name Type Default Description
text string 标签文本
show string 标签显隐
position string 标签位置
position object 标签位置
Properties
Name Type Description
lng number 经度
lat number 纬度
alt number 高度
fontSize number 20 字体大小
fontFamily number 0 字体项 0:黑体;1:思源黑体;2:庞门正道标题体;3:数黑体
color string #ffffff 字体颜色
lineWidth number 4 引线宽
lineColor string #00ffff80 引线颜色
pixelOffset number 20 字体偏移(引线长度)
backgroundColor array ['#00ffff80', '#00ffff80'] 背景颜色
scaleByDistance boolean 距离缩放
near number 2000 视野缩放最近距离
far number 100000 视野缩放最远距离
attribute object 属性内容
Properties
Name Type Default Description
link object {} 链接
Properties
Name Type Default Description
content array [] 链接内容
content[].name string 链接名称
content[].url string 链接地址
richTextContent string 富文本内容
customView object 默认视角
Properties
Name Type Description
orientation object 默认视角方位
Properties
Name Type Description
heading number 航向角
pitch number 俯仰角
roll number 翻滚角
relativePosition object 视角相对位置
Properties
Name Type Description
lng number 经度
lat number 纬度
alt number 高度

Methods


openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

Class: WallStereoscopic

WallStereoscopic


new WallStereoscopic(sdk, options, positions, _Dialog)

电子围墙
Parameters:
Name Type Description
sdk
options object 墙属性
Properties
Name Type Default Description
name string 名称
color string "#00d9ff" 颜色
width number 1
height number 1
extrudedHeight number 10 挤出高度
cornerType string 拐角类型;ROUNDED/MITERED/BEVELED
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

Class: WallStereoscopic

WallStereoscopic


new WallStereoscopic(sdk, options, positions, _Dialog)

电子围墙
Parameters:
Name Type Description
sdk
options object 墙属性
Properties
Name Type Default Description
name string 名称
color string "#00d9ff" 颜色
width number 1
height number 1
extrudedHeight number 10 挤出高度
cornerType string 拐角类型;ROUNDED/MITERED/BEVELED
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框

openRichTextEditor()

打开富文本框