new SuperMap.LabelImageCell(options)
This class inherits from the SuperMap.LabelMatrixCell class and is mainly used to set the matrix label elements of the thematic map type in the matrix label. Matrix label map is a kind of label theme map (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. matrixCells 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.
|
Extends
Members
-
heightnumber
-
Sets the height of the picture, in mm unit.
-
pathFieldstring
-
Sets the field name of the picture's path used by the matrix label elements.
-
rotationnumber
-
Image rotation, The counterclockwise direction is positive and it is accurate to 0.1 degree.
- Default Value: 0.0
sizeFixedboolean
Whether to fix the size of the image.
typestring
It's required when make the thematic map of the matrix
- Default Value: 'IMAGE'
widthnumber
Sets the height of the picture, in mm unit.
Methods
-
destroy()
LabelImageCell.js, line 70 -
Disposes the resource. The property that references resource is set to null.