new SuperMap.Plot.Property(key, value)
common/plot/Property.js, line 2
Name | Type | Description |
---|---|---|
key |
string |
自定义属性的关键字。 |
value |
string |
自定义属性的值。 |
Methods
-
clone(){SuperMap.Plot.Property}
common/plot/Property.js, line 80 -
克隆属性对象。
Returns:
Type Description SuperMap.Plot.Property 克隆后的属性对象。 -
destroy()
common/plot/Property.js, line 71 -
销毁该类,释放相关资源。
-
getKey(){string}
common/plot/Property.js, line 44 -
获取自定义属性的关键字。
Returns:
Type Description string 返回自定义属性的关键字。 -
getValue(){Object}
common/plot/Property.js, line 62 -
获取自定义属性的值。
Returns:
Type Description Object 返回自定义属性的值。 -
setKey(key)
common/plot/Property.js, line 35 -
设置自定义属性的关键字。
Name Type Description key
string 自定义属性的关键字。
-
setValue(value)
common/plot/Property.js, line 53 -
设置自定义属性的值。
Name Type Description value
Object 自定义属性的值。