Light

open class Light

The global light source.

See also

<a href="https://maplibre.org/maplibre-style-spec/#light">The online documentation</a>

Functions

Link copied to clipboard
Get the Anchor property.
Link copied to clipboard
open fun getColor(): String
Get the Color property.
Link copied to clipboard
Get the Color property transition options.
Link copied to clipboard
Get the Intensity property.
Link copied to clipboard
Get the Intensity property transition options.
Link copied to clipboard
Get the Position property.
Link copied to clipboard
Get the Position property transition options.
Link copied to clipboard
open fun setAnchor(anchor: String)
Set the Anchor property.
Link copied to clipboard
open fun setColor(@ColorInt color: Int)
open fun setColor(color: String)
Set the Color property.
Link copied to clipboard
Set the Color property transition options.
Link copied to clipboard
open fun setIntensity(intensity: Float)
Set the Intensity property.
Link copied to clipboard
Set the Intensity property transition options.
Link copied to clipboard
open fun setPosition(@NonNull position: Position)
Set the Position property.
Link copied to clipboard
Set the Position property transition options.