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.
|
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.