new Feature()
要素对象,关联几何信息与属性信息,可通过数据集对象查询、更新
Methods
-
getAttribute(attributeName){Number|String}
-
根据属性名称获取属性值
Name Type Description attributeNameString 属性名称
Returns:
Type Description Number | String -
setAttribute(attributeName, value)
-
更新属性值
Name Type Description attributeNameString 属性名称
valueNumber | String 属性值