LightPresetValue

@Immutable
data class LightPresetValue(val value: Value)

Define the lightPreset style import config for MapboxStandardStyle.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun LightPresetValue(value: String)

Construct the LightPresetValue with String.

Link copied to clipboard
Link copied to clipboard
fun LightPresetValue(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard
val presetNameOrNull: String?

Get the name of the LightPresetValue as String, or null if it's not a constant(e.g. an expression).

Link copied to clipboard
val value: Value