Class: Theme

ol.supermap.Theme

Base class for thematic mapping.

new ol.supermap.Theme(type, options)

Theme.js, line 5
Name Type Description
type string

Thematic mapping types.

options Object

The parameters.

Name Type Description
memoryData ol.supermap.ThemeMemoryData optional

The ThemeMemoryData.

Members

The ThemeMemoryData
The way of making thematic maps with the ThemeMemoryData and the ways of making thematic maps are mutually exclusive, the former has higher priority。 The first parameter represents the thematic value, that is, the data set is used to do the values of the fields or expressions of the thematic graph. The second parameters represent the external values. In the production of a thematic map, the external value is used instead of the topic value to make the corresponding thematic maps.

typestring

type of the thematic mapping.

Methods

destroy()

Theme.js, line 41

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

toServerJSONObject(){Object}

Theme.js, line 54

Turned to the JSON format object.

Returns:
Type Description
Object The JSON object.