Package-level declarations

Types

Link copied to clipboard

Class representing dynamic light which is built with AmbientLight and DirectionalLight.

Link copied to clipboard
abstract class Light

Base class for all light implementations. Check the online documentation.

Link copied to clipboard
data class LightPosition(radialCoordinate: Double, azimuthalAngle: Double, polarAngle: Double)

Position of the light source relative to lit (extruded) geometries.

Functions

Link copied to clipboard
fun dynamicLight(ambientLight: AmbientLight, directionalLight: DirectionalLight): DynamicLight

DSL function for creating DynamicLight instance.

Link copied to clipboard

Extension function to get 3D Light that has been applied to the style.

Link copied to clipboard

Extension function to add the FlatLight to the Style.

fun MapboxStyleManager.setLight(ambientLight: AmbientLight, directionalLight: DirectionalLight)

Extension function to add dynamic light to the Style. dynamic light is built from AmbientLight and DirectionalLight.

Link copied to clipboard

Extension function to add list of lights.