Package com. mapbox. maps. extension. style. atmosphere. generated
Types
Atmosphere
Link copied to clipboard
class Atmosphere : AtmosphereDslReceiver, StyleContract.StyleAtmosphereExtension
Content 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.
Atmosphere Dsl Receiver
Link copied to clipboard
interface AtmosphereDslReceiver
Content copied to clipboard
This Interface contains all the functions that will be exposed to Koltin DSL.
Functions
atmosphere
Link copied to clipboard
DSL function for creating Atmosphere instance.
get Atmosphere
Link copied to clipboard
Extension function to get the atmosphere provided by the Style Extension.
remove Atmosphere
Link copied to clipboard
Removes atmosphere from style if it was set.
set Atmosphere
Link copied to clipboard
fun StyleInterface.setAtmosphere(atmosphere: StyleContract.StyleAtmosphereExtension)
Content copied to clipboard
Extension function to set the Atmosphere provided by the Style Extension to the Style.