Class: ThemeGraduatedSymbolStyle

mapboxgl.supermap.ThemeGraduatedSymbolStyle

The ThemeGraduatedSymbolStyle class.

new mapboxgl.supermapThemeGraduatedSymbolStyle(options)

ThemeGraduatedSymbolStyle.js, line 5
Name Type Description
options Object

The parameters.

Name Type Default Description
negativeDisplayed boolean false optional

Whether to display the negative value.

negativeStyle mapboxgl.supermapServerStyle optional

The negative value styles.

positiveStyle mapboxgl.supermapServerStyle optional

The positive value styles.

zeroDisplayed boolean false optional

Whether to display the zero value.

zeroStyle mapboxgl.supermapServerStyle optional

The 0 value styles.

Members

negativeDisplayedboolean

Whether to display the negative value.

The negative value styles.

The positive value styles.

zeroDisplayedboolean

Whether to display the zero value.

The 0 value styles.

Methods

static fromObj(obj){mapboxgl.supermapThemeGraduatedSymbolStyle}

ThemeGraduatedSymbolStyle.js, line 69

Getting grade symbol thematic maps from incoming objects to negative zero display style classes。

Name Type Description
obj Object

The incoming objects.

Returns:
Type Description
mapboxgl.supermapThemeGraduatedSymbolStyle ThemeGraduatedSymbolStyle objects.

destroy()

ThemeGraduatedSymbolStyle.js, line 56

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