setLight

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

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

Parameters

ambientLight

The ambient light to be added

directionalLight

The directional light to be added


Extension function to add the FlatLight to the Style.

Parameters

flatLight

The flat light to be added