Class: ThemeGraduatedSymbolStyle

ol.supermap.ThemeGraduatedSymbolStyle

The ThemeGraduatedSymbolStyle class.

new ol.supermap.ThemeGraduatedSymbolStyle(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 ol.supermap.ServerStyle optional

The negative value styles.

positiveStyle ol.supermap.ServerStyle optional

The positive value styles.

zeroDisplayed boolean false optional

Whether to display the zero value.

zeroStyle ol.supermap.ServerStyle 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){ol.supermap.ThemeGraduatedSymbolStyle}

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
ol.supermap.ThemeGraduatedSymbolStyle ThemeGraduatedSymbolStyle objects.

destroy()

ThemeGraduatedSymbolStyle.js, line 56

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