Class: Feature

Feature

new Feature()

几何对象类,包含几何对象与属性信息。
Source:

Methods

(static) createObj(fieldNames, fieldValues, geometry) → {Promise.<Feature>}

Feature对象构造函数。
Parameters:
Name Type Description
fieldNames array 指定的属性名数组。
fieldValues array 指定的属性值数组。
geometry object 指定的几何对象。
Source:
Returns:
Type
Promise.<Feature>

(static) getFieldNames() → {Promise.<Array>}

获取属性名数组。
Source:
Returns:
Type
Promise.<Array>

(static) getFieldValues() → {Promise.<array>}

获取属性值数组。
Source:
Returns:
Type
Promise.<array>

(static) getGeometry() → {Promise.<Geometry>}

获取几何对象。
Source:
Returns:
Type
Promise.<Geometry>

(static) toJson() → {Promise.<object>}

将类对象转换成Json串。
Source:
Returns:
Type
Promise.<object>