包 | com.supermap.web.utils.serverTypes |
类 | public class ServerFeature |
继承 | ServerFeature ![]() |
该类描述了服务端返回的矢量要素的相关信息,包括字段和几何信息。
属性 | 定义方 | ||
---|---|---|---|
fieldNames : Array
[read-only] 获取矢量要素的属性字段名集合。
|
ServerFeature | ||
fieldValues : Array
[read-only] 获取矢量要素的属性字段值集合。
|
ServerFeature | ||
geometry : ServerGeometry
[read-only] 获取矢量要素的几何信息 ServerGeometry。
|
ServerFeature | ||
id : int
要素 ID。
|
ServerFeature |
方法 | 定义方 | ||
---|---|---|---|
初始化 ServerFeature 类的新实例。
|
ServerFeature |
fieldNames | 属性 |
fieldNames:Array
[read-only]
获取矢量要素的属性字段名集合。
public function get fieldNames():Array
fieldValues | 属性 |
fieldValues:Array
[read-only]
获取矢量要素的属性字段值集合。
public function get fieldValues():Array
geometry | 属性 |
geometry:ServerGeometry
[read-only]
获取矢量要素的几何信息 ServerGeometry。
public function get geometry():ServerGeometry
id | 属性 |
id:int
要素 ID。
public function get id():int
public function set id(value:int):void
ServerFeature | () | 构造函数 |
public function ServerFeature()
初始化 ServerFeature 类的新实例。