Anchor

enum Anchor : Enum<Anchor> , LayerProperty

Whether extruded geometries are lit relative to the map or viewport.

Parameters

value

String value of this property

Entries

Link copied to clipboard

The position of the light source is aligned to the rotation of the map.

Link copied to clipboard

The position of the light source is aligned to the rotation of the viewport.

Functions

Link copied to clipboard
fun valueOf(value: String): Anchor

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

Link copied to clipboard

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: String