Package-level declarations
The main Composable to instantiate a map, and related utilities.
Types
Link copied to clipboard
class CameraState
Use this class to access information about the map in relation to the camera.
Link copied to clipboard
The result of a click event handler. See MapClickHandler and FeaturesClickHandler.
Link copied to clipboard
A callback for when a feature is clicked.
Link copied to clipboard
A callback for when the map is clicked. Called before any layer click handlers.
Functions
Link copied to clipboard
fun MaplibreMap(modifier: Modifier = Modifier, styleUrl: String = "https://demotiles.maplibre.org/style.json", gestureSettings: GestureSettings = GestureSettings.AllEnabled, ornamentSettings: OrnamentSettings = OrnamentSettings.AllEnabled, cameraState: CameraState = rememberCameraState(), onMapClick: MapClickHandler = { _, _ -> ClickResult.Pass }, onMapLongClick: MapClickHandler = { _, _ -> ClickResult.Pass }, onFpsChanged: (Double) -> Unit = {}, isDebugEnabled: Boolean = false, maximumFps: Int = PlatformUtils.getSystemRefreshRate().roundToInt(), logger: Logger? = remember { Logger.withTag("maplibre-compose") }, content: @Composable ExpressionScope.() -> Unit = {})
Link copied to clipboard