Package com.mapbox.maps.extension.style.atmosphere.generated

Types

Atmosphere
Link copied to clipboard

A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features. Note: fog is renamed to atmosphere in the Android and iOS SDKs and planned to be changed in GL-JS v.3.0.0.

AtmosphereDslReceiver
Link copied to clipboard
interface AtmosphereDslReceiver

This Interface contains all the functions that will be exposed to Koltin DSL.

Functions

atmosphere
Link copied to clipboard
fun atmosphere(block: AtmosphereDslReceiver.() -> Unit): Atmosphere

DSL function for creating Atmosphere instance.

getAtmosphere
Link copied to clipboard
fun StyleInterface.getAtmosphere(): Atmosphere

Extension function to get the atmosphere provided by the Style Extension.

setAtmosphere
Link copied to clipboard
fun StyleInterface.setAtmosphere(atmosphere: StyleContract.StyleAtmosphereExtension)

Extension function to set the Atmosphere provided by the Style Extension to the Style.