Class: MappingParameters

SuperMap.MappingParameters

The parameter class for visualizing the results after analysis.

new SuperMap.MappingParameters(options)

MappingParameters.js, line 8
Name Type Description
options Object

parameters.

Name Type Default Description
items Array.<SuperMap.ThemeGridRangeItem> optional

An array of raster segment map items.

numericPrecision number 1 optional

Numeric precision, This field is used to set the precision of the label value in the analysis result label map. For example, "1" indicates the nearest digit to the decimal point.

rangeMode SuperMap.RangeMode SuperMap.RangeMode.EQUALINTERVAL optional

The RangeMode of the ThemeRange.

rangeCount number optional

The number of thematic map segments.

colorGradientType SuperMap.ColorGradientType SuperMap.ColorGradientType.YELLOW_RED optional

The ColorGradientType enumeration.

Members

colorGradientTypeSuperMap.ColorGradientType

The ColorGradientType enumeration.

Default Value:
SuperMap.ColorGradientType.YELLOW_RED

An array of raster segment map items.

numericPrecisionnumber

Numeric precision, This field is used to set the precision of the label value in the analysis result label map. For example, "1" indicates the nearest digit to the decimal point.

Default Value:
1

rangeCountnumber

The number of thematic map segments.

The RangeMode of the ThemeRange.

Default Value:
SuperMap.RangeMode.EQUALINTERVAL

Methods

destroy()

MappingParameters.js, line 57

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