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

VIEWPORT
Link copied to clipboard
VIEWPORT("viewport")
The position of the light source is aligned to the rotation of the viewport.
MAP
Link copied to clipboard
MAP("map")
The position of the light source is aligned to the rotation of the map.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property