VectCls Class

VectCls(option)

矢量类对象

Fx构造函数

# new VectCls(option)

矢量类对象

参数:
名称 类型 属性 默认值 描述
option Object

属性键值对

clsType VectClsType <optional>
VectClsType.SFCls

图层类型 Zondy.Enum.VectClsType

clsName String <optional>
null

图层名称

geoType FeatureType <optional>
1

要素几何类型 Zondy.Enum.FeatureType类型,只对简单要素类有效

srefName String <optional>
""

空间参照系名称

dsName String <optional>
""

要素数据集名称

attStruct Zondy.Object.CAttStruct <optional>
null

图层属性结构对象

查看源代码 service/common/VectCls.js, line 17

成员变量

Zondy.Object.CAttStruct

# attStruct

图层属性结构对象

Default Value:
  • null

查看源代码 service/common/VectCls.js, line 73

String

# clsName

图层名称

Default Value:
  • null

查看源代码 service/common/VectCls.js, line 41

VectClsType

# clsType

图层类型 Zondy.Enum.VectClsType

Default Value:
  • VectClsType.SFCls

查看源代码 service/common/VectCls.js, line 33

String

# dsName

要素数据集名称

Default Value:
  • ""

查看源代码 service/common/VectCls.js, line 65

FeatureType

# geoType

要素几何类型 Zondy.Enum.FeatureType 类型,只对简单要素类有效

Default Value:
  • 1

查看源代码 service/common/VectCls.js, line 49

String

# srefName

空间参照系名称

Default Value:
  • ""

查看源代码 service/common/VectCls.js, line 57