MTLayerType

@Serializable
enum MTLayerType : Enum<MTLayerType>

Types of layers.

Entries

@SerialName(value = "fill")
FILL

A filled polygon with an optional stroked border.

@SerialName(value = "line")
LINE

A stroked line.

@SerialName(value = "symbol")
SYMBOL

An icon or a text label.

@SerialName(value = "raster")
RASTER

Raster map textures such as satellite imagery.

@SerialName(value = "circle")
CIRCLE

A filled circle.

@SerialName(value = "fill-extrusion")
FILL_EXTRUSION

An extruded (3D) polygon.

@SerialName(value = "heatmap")
HEATMAP

A heatmap.

@SerialName(value = "hillshade")
HILLSHADE

Client-side hillshading visualization based on DEM data.

@SerialName(value = "background")
BACKGROUND

The background color or pattern of the map.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.