Class: ServerTheme

SuperMap.ServerTheme

The UGC thematic layer class

new SuperMap.ServerTheme(theme, themeElementPosition)

ServerTheme.js, line 12
Name Type Description
theme SuperMap.Theme

Thematic map object.

themeElementPosition SuperMap.LonLat

Thematic map element position.

Extends

Members

Layer bounds.

captionstring

The caption of the map layer.

completeLineSymbolDisplayedboolean

Whether to display a complete line symbol.

Dataset information.

descriptionstring

The description of the layer.

displayFilterstring

The filter condition for the layer display.

The joinItem class.

maxScalenumber

The maximum map scale.

minScalenumber

The minimum map scale.

minVisibleGeometrySizenumber

The minimum visible size, in pixels, of the geometry object.

namestring

Layer name.

opaqueRatenumber

The opacity of the layer.

overlapDisplayedboolean

Whether to display the overlapped parts of map objects.

overlapDisplayedOptionsSuperMap.OverlapDisplayedOptions

The options to avoid map overlap. It is valid only if overlapDisplayed is false.

queryableboolean

Whether the object in the layer enables to be queried.

representationFieldstring

The field storing the representation information.

subLayersArray

Sublayer set.

symbolScalableboolean

Whether allowing the symbol size changes along with the layer zoom.

symbolScalenumber

The natural scale for symbol zoom of the layer.

Thematic map object.

themeElementPositionSuperMap.LonLat

Thematic map element position.

Layer type.

ugcLayerTypeSuperMap.LayerType

Layer type.

visibleboolean

Whether to display the overlapped parts of map objects.

Methods

inherited destroy()

UGCLayer.js, line 77

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

inherited destroy()

UGCLayer.js, line 77

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

fromJson(jsonObject)

ServerTheme.js, line 53

Transform the JSON object on the server to the client object

Name Type Description
jsonObject Object

The JSON object to be turned.

toServerJSONObject()

ServerTheme.js, line 90

Transform to the JSON object.