Package-level declarations

Types

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

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

Class that holds MapboxMapComposable content per each slot.

Link copied to clipboard

Style image to used with runtime styling.

Link copied to clipboard

Class that holds ImportConfig per each Import ID.

Functions

Link copied to clipboard
fun GenericStyle(style: String, slotsContent: SlotsContent = SlotsContent(), layerPositionedContent: LayerPositionedContent = LayerPositionedContent(), styleImportsConfig: StyleImportsConfig = StyleImportsConfig(), projection: Projection = Projection.default, atmosphereState: AtmosphereState = AtmosphereState.default, terrainState: TerrainState = TerrainState.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

Type-safe builder for layer position based MapboxMapComposable content.

Link copied to clipboard
fun MapStyle(style: String, projection: Projection = Projection.default, atmosphereState: AtmosphereState = AtmosphereState.default, terrainState: TerrainState = TerrainState.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.