Class: ThemeParameters

SuperMap.ThemeParameters

The ThemeParameters class. This class stores parameters, including datasource names, dataset names, and thematic map objects, for making thematic maps.

new SuperMap.ThemeParameters(options)

D:/iClient9_English0919/src/common/iServer/ThemeParameters.js, line 16
Name Type Description
options Object

The parameters.

Name Type Description
datasetNames Array.<string>

The dataset array for making the thematic map.

dataSourceNames Array.<string>

The array of datasources that contain the datasets for making the thematic map.

joinItems Array.<SuperMap.JoinItem> optional

Sets the JoinItem array that contains the information about the connection with an external table.

themes Array.<SuperMap.Theme>

The thematic map object list.

displayFilters Array.<string> optional

The property filter of the thematic map.

displayOrderBys Array.<string> optional

The order field that thematic map creates symbols overlay.

fieldValuesDisplayFilter Object optional

The filter property of display and hide for layer features. There are three properties: values, fieldName, fieldValuesDisplayMode.

Members

datasetNamesArray.<string>

The dataset array for making the thematic map. Required.

dataSourceNamesArray.<string>

The array of datasources that contain the datasets for making the thematic map. Required.

displayFiltersArray.<string>

The property filter of the thematic map.

displayOrderBysArray.<string>

The order field that thematic map creates symbols overlay.

fieldValuesDisplayFilterObject

Properties:
Name Type Description
values Array.<number>

The value that needs to be filtered.

fieldName string

the field name to filter, numeric field is supported only.

fieldValuesDisplayMode string

currently it has two DISPLAY/DISABLE. When it is DISPLAY, it displays the features set above; otherwise, it doesn't display the features set above.

joinItemsArray.<SuperMap.JoinItem>

Sets the JoinItem array that contains the information about the connection with an external table. This attribute can be used to make thematic maps with joined tables.

themesArray.<SuperMap.Theme>

The thematic map object list. This parameter is the collection of the initialized thematic map objects.

Methods

destroy()

D:/iClient9_English0919/src/common/iServer/ThemeParameters.js, line 86

Disposes the resource. The property that references resource is set to null.