Package-level declarations

Types

Link copied to clipboard

Defines a Boolean primitive that can accommodate a Boolean. See Boolean.

Link copied to clipboard

Defines the color used by the Maps render engine. It can be either Color or an Expression.

Link copied to clipboard
data class DoubleListValue(val value: Value)

Defines a primitive that can accommodate a list of Double.

Link copied to clipboard
data class DoubleRangeValue(val value: Value)

Defines a primitive that can accommodate a range of two Double. Usually defined by a lower and upper limit.

Link copied to clipboard

Defines a Number primitive that can accommodate a Double.

Link copied to clipboard

Utility to generate a random ID.

Link copied to clipboard

Class that holds the configs for one import ID.

Link copied to clipboard
Link copied to clipboard

Defines a Number primitive that can accommodate a Long.

Link copied to clipboard

Marks a composable function as being expected to be used inside another composable function that is also marked or inferred to be marked as a MapboxStyleComposable.

Link copied to clipboard
data class PointListValue(val value: Value)

Defines a primitive that can accommodate a list of com.mapbox.geojson.Points.

Link copied to clipboard

Class that holds MapboxMapComposable content per each slot.

Link copied to clipboard

Defines a list of String primitive that can accommodate a list of String.

Link copied to clipboard

Defines a String primitive that can accommodate a String. See String.

Link copied to clipboard

Style image to used with runtime styling.

Link copied to clipboard

Class that holds ImportConfigs per each Import ID.

Link copied to clipboard
data class Transition

Defines the timing for the interpolation between a transitionable style layer property's previous value and new value.

Functions

Link copied to clipboard
fun GenericStyle(style: String, styleImportsContent: @Composable StyleImportsScope.() -> Unit? = null, slotsContent: SlotsContent = remember { SlotsContent() }, layerPositionedContent: LayerPositionedContent = remember { LayerPositionedContent() }, styleImportsConfig: StyleImportsConfig = remember { StyleImportsConfig() }, projection: Projection = Projection.INITIAL, atmosphereState: AtmosphereState = remember { AtmosphereState() }, terrainState: TerrainState = TerrainState.INITIAL, lightsState: LightsState = LightsState.INITIAL)

Generic Style that you can insert MapboxMapComposable functions in any slot you defined as a plain string, or set any map import configs given as plain string and Value pairs.

Link copied to clipboard
Link copied to clipboard

Type-safe builder for layer position based MapboxMapComposable content.

Link copied to clipboard
fun MapStyle(style: String, styleImportsContent: @Composable StyleImportsScope.() -> Unit? = null, projection: Projection = Projection.INITIAL, atmosphereState: AtmosphereState = remember { AtmosphereState() }, terrainState: TerrainState = TerrainState.INITIAL, lightsState: LightsState = LightsState.INITIAL)

A simple composable function to set the style to the map without slots or import configs.

Link copied to clipboard

Type-safe builder for slot based MapboxMapComposable content.