Class: LabelThemeCell

SuperMap.LabelThemeCell

The LabelThemeCell class.

new SuperMap.LabelThemeCell(options)

LabelThemeCell.js, line 6

This class inherits from the SuperMap.LabelMatrixCell class and is primarily used to set the matrix label elements of the thematic map type in the matrix label. Matrix label map is a kind of label map (SuperMap.ThemeLabel), in which the fill elements in the matrix label can be divided into image types (SuperMap.LabelImageCell), Symbol type (SuperMap.LabelSymbolCell), thematic map type (SuperMap.LabelThemeCell) three kinds, this class is one of these three types of matrix label elements, A matrix label used to define the symbol type, such as the symbol ID field name (the symbol ID corresponds to the ID of the point, line, and polygon symbol in the SuperMap desktop product), size, and so on. Users only need to assign the defined matrix label elements to the SuperMap.ThemeLabel.matrixCells attribute when implementing the matrix label map. The matrixCells genus is a two-dimensional array. Each dimension can be an array of any type of matrix label element (or an array of individual label elements, ie only one element in the array).

Name Type Description
options Object

The parameters.

Name Type Description
themeLabel SuperMap.ThemeLabel

Uses a thematic map object as an element of the matrix label.

Extends

Members

Uses a thematic map object as an element of the matrix label.

typestring

It's required when make the thematic map of the matrix

Methods

destroy()

LabelThemeCell.js, line 43

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