Class: Property

SuperMap.Plot.Property

自定义属性类。

new SuperMap.Plot.Property(key, value)

common/plot/Property.js, line 3
Name Type Description
key string

自定义属性的关键字。

value string

自定义属性的值。

Methods

clone(){SuperMap.Plot.Property}

common/plot/Property.js, line 83

克隆属性对象。

Returns:
Type Description
SuperMap.Plot.Property 克隆后的属性对象。

destroy()

common/plot/Property.js, line 74

销毁该类,释放相关资源。

getKey(){string}

common/plot/Property.js, line 47

获取自定义属性的关键字。

Returns:
Type Description
string 返回自定义属性的关键字。

getValue(){Object}

common/plot/Property.js, line 65

获取自定义属性的值。

Returns:
Type Description
Object 返回自定义属性的值。

setKey(key)

common/plot/Property.js, line 38

设置自定义属性的关键字。

Name Type Description
key string

自定义属性的关键字。

setValue(value)

common/plot/Property.js, line 56

设置自定义属性的值。

Name Type Description
value Object

自定义属性的值。