Anchor

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

enum Anchor : Enum<Anchor> , LayerProperty

Parameters

value

String value of this property

Entries

MAP
Link copied to clipboard

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

MAP("map")
VIEWPORT
Link copied to clipboard

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

VIEWPORT("viewport")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: Anchor): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<Anchor>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

String value of this property

open override val value: String