Methods
(async, static) copy(multiClassThemeInfo) → {boolean}
复制信息到当前专题图对象
Parameters:
| Name | Type | Description |
|---|---|---|
multiClassThemeInfo |
Object | 专题图对象 |
- Source:
Returns:
true-成功 : false-失败
- Type
- boolean
(async, static) createObj() → {Promise.<MultiClassThemeInfo>}
构造一个新的MultiClassThemeInfo对象
- Source:
Returns:
- Type
- Promise.<MultiClassThemeInfo>
(async, static) getCaption() → {String}
获取项标题
- Source:
Returns:
项标题
- Type
- String
(async, static) getCount() → {int}
获取专题图信息项的数目(和表达式的数目相同)
- Source:
Returns:
专题图信息项的数目
- Type
- int
(async, static) getGeoInfo(geomType) → {Promise.<GeomInfo>}
获得专题图项的图形信息
Parameters:
| Name | Type | Description |
|---|---|---|
geomType |
int | 图形信息类型(int类型的Number),例:0-GeomType.GeomUnknown |
- Source:
Returns:
成功返回专题图项的图形信息
- Type
- Promise.<GeomInfo>
(async, static) getMaxScale() → {double}
获取最大显示比
- Source:
Returns:
最大显示比
- Type
- double
(async, static) getMinScale() → {double}
获取最小显示比
- Source:
Returns:
最小显示比
- Type
- double
(async, static) getValue(index) → {Promise.<ClassItemValue>}
获得专题图项的信息
Parameters:
| Name | Type | Description |
|---|---|---|
index |
int | 专题图项的索引 |
- Source:
Returns:
成功返回专题图项的信息
- Type
- Promise.<ClassItemValue>
(async, static) getValues() → {Array}
取各个项的值(该列表长度与表达式的个数同)
- Source:
Returns:
各个项的值组成的数组 - ClassItemValue[]
- Type
- Array
(async, static) getVisible() → {boolean}
获取是否可见
- Source:
Returns:
是否可见
- Type
- boolean
(async, static) setCaption(caption) → {Promise.<Void>}
设置项标题
Parameters:
| Name | Type | Description |
|---|---|---|
caption |
String | 项标题 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setGeoInfo(geomInfo, geomType) → {boolean}
设置专题图项的图形信息
Parameters:
| Name | Type | Description |
|---|---|---|
geomInfo |
Object | 专题图图形信息 (GeomInfo类型的Object) |
geomType |
Number | 图形类型,(int类型的Number)例:0-GeomType.GeomUnknown |
- Source:
Returns:
- Type
- boolean
(async, static) setMaxScale(maxScale) → {Promise.<Void>}
设置最大显示比
Parameters:
| Name | Type | Description |
|---|---|---|
maxScale |
double | 最大显示比 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setMinScale(minScale) → {Promise.<Void>}
设置最小显示比
Parameters:
| Name | Type | Description |
|---|---|---|
minScale |
double | 最小显示比 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setValue(index, classItemValue) → {boolean}
设置专题图项的信息
Parameters:
| Name | Type | Description |
|---|---|---|
index |
int | 专题图项的索引 |
classItemValue |
Object | 专题图项的信息 |
- Source:
Returns:
true-成功 : false-失败
- Type
- boolean
(async, static) setVisible(visible) → {Promise.<Void>}
设置是否可见
Parameters:
| Name | Type | Description |
|---|---|---|
visible |
boolean | 是否可见 |
- Source:
Returns:
- Type
- Promise.<Void>