Class: UniqueTheme3DLayer

mapboxgl.supermap.UniqueTheme3DLayer

The 3D unique thematic map layer.

new mapboxgl.supermap.UniqueTheme3DLayer(id, layerOptions)

UniqueTheme3DLayer.js, line 5
Name Type Description
id string optional

The id of thematic map layer.The theme layer ID is created by default using CommonUtil.createUniqueID("theme3DLayer").

layerOptions Object

Options of the thematic map layer. Parameters are inherited from the Theme3DLayer.

Name Type Description
height number optional

A height can be set for all data if the heightField (default height) specified in the data does not contain a field to represent height.

colorStops Array

The array of data colors subsection.

Members

colorStopsArray

The array of data colors. For instance: [["Greenland","#CD7054"],["Road","#AD1283"]].

Methods

getHighlightStyleOptions(){Object}

UniqueTheme3DLayer.js, line 62

Get the highlight style.

Returns:
Type Description
Object The style object of Mapbox GL.

getLayerStyleOptions(){Object}

UniqueTheme3DLayer.js, line 27

Get style of the layer

Returns:
Type Description
Object The style object of Mapbox GL.