Package-level declarations

Core package containing the primary map composable and related components.

Core package containing the primary map composable and related components.

Core package containing the primary map composable and related components.

Core package containing the primary map composable and related components.

Core package containing the primary map composable and related components.

Core package containing the primary map composable and related components.

Types

Link copied to clipboard
@Immutable
actual data class GestureOptions
@Immutable
expect class GestureOptions

Configures platform-specific map interaction gesture options.

@Immutable
actual data class GestureOptions
@Immutable
actual data class GestureOptions
@Immutable
actual data class GestureOptions
Link copied to clipboard
@Immutable
data class MapOptions(val renderOptions: RenderOptions = RenderOptions.Standard, val gestureOptions: GestureOptions = GestureOptions.Standard, val ornamentOptions: OrnamentOptions = OrnamentOptions.AllEnabled)

Configures various platform-specific behaviors of the map.

Link copied to clipboard
@Immutable
expect class OrnamentOptions

Defines which additional platform-specific UI elements are displayed on top of the map.

@Immutable
actual class OrnamentOptions
@Immutable
actual data class OrnamentOptions
@Immutable
actual data class OrnamentOptions
Link copied to clipboard
@Immutable
actual data class RenderOptions

Represents configuration options for rendering behavior in a map view. This includes options such as the type of rendered surface, debug settings, and performance-specific parameters.

@Immutable
expect class RenderOptions

Configures platform-specific map rendering options.

@Immutable
actual data class RenderOptions
@Immutable
actual data class RenderOptions
@Immutable
actual data class RenderOptions

Functions

Link copied to clipboard
@Composable
fun MaplibreMap(modifier: Modifier = Modifier, baseStyle: BaseStyle = BaseStyle.Companion.Demo, cameraState: CameraState = rememberCameraState(), zoomRange: ClosedRange<Float> = 0f..20f, pitchRange: ClosedRange<Float> = 0f..60f, boundingBox: BoundingBox? = null, styleState: StyleState = rememberStyleState(), onMapClick: MapClickHandler = { _, _ -> ClickResult.Pass }, onMapLongClick: MapClickHandler = { _, _ -> ClickResult.Pass }, onFrame: (framesPerSecond: Double) -> Unit = {}, options: MapOptions = MapOptions(), logger: Logger? = remember { Logger.withTag("maplibre-compose") }, onMapLoadFailed: (reason: String?) -> Unit = {}, onMapLoadFinished: () -> Unit = {}, content: @Composable () -> Unit = {})

Displays a MapLibre based map.