com.maptiler.maptilersdk.annotations

Types

class MTCustomAnnotationViewClassic(context: Context, widthPx: Int, heightPx: Int, initialCoordinates: LngLat, initialOffset: MTPoint = MTPoint(0.0, 0.0)) : FrameLayout, MTAnnotation, MTMapViewContentDelegate

Classic (XML/Views) variant of a custom annotation view that can be added to MTMapViewClassic.

class MTMarker(val identifier: String = "mark", _coordinates: LngLat) : MTAnnotation

Annotation element that can be added to the map.

class MTTextPopup(val identifier: String = "mark", _coordinates: LngLat) : MTAnnotation

Functions

fun MTCustomAnnotationView(controller: MTMapViewController, coordinates: LngLat, offset: MTPoint = MTPoint(0.0, 0.0), anchor: Alignment = Alignment.Center, modifier: Modifier = Modifier, content: @Composable () -> Unit)

Compose-based custom annotation view that can be overlaid on top of MTMapView.