Material

The material used to shade the geometry.

Referenced by: ExtrudeSymbol3DLayer, IconSymbol3DLayer, LineSymbol3DLayer, ObjectSymbol3DLayer, PathSymbol3DLayer, TextSymbol3DLayer

Properties

Property Details
color Color is represented as a three or four-element array.
transparency A value between 100 (full transparency) and 0 (full opacity). Ignored if no color is specified.

material Example

{
  "color": [
    255,
    0,
    0
  ],
  "transparency": 20
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.