类名 ElevationInfo

# new ElevationInfo(options)

高程信息

参数:

名称 类型 默认值 描述
options Object

构造参数

mode ElevationMode ElevationMode.OnTheGround

模式

offset Number 0

高程偏移

featureExpressionInfo FeatureExpressionInfo

高度表达式

unit LengthUnit LengthUnit.meter

单位

查看源代码 common/base/ElevationInfo.js, line 6

成员变量

# static this.featureExpressionInfo

要素表达式信息

查看源代码 common/base/ElevationInfo.js, line 41

# static this.mode

高程模式

查看源代码 common/base/ElevationInfo.js, line 25

# static this.offset

高程偏移。默认为零,默认单位为米。

查看源代码 common/base/ElevationInfo.js, line 33

# static this.unit

offset和featureExpression的单位

查看源代码 common/base/ElevationInfo.js, line 51

方法

# toJSON()

转换为json对象

查看源代码 common/base/ElevationInfo.js, line 67

json对象

Object
构造函数
成员变量
方法
事件