com.maptiler.maptilersdk.annotations

Types

Anchor positions that describe which point of a marker is aligned to its geographic coordinates.

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.

Controls how marker pitch is aligned when the map is tilted.

Controls how marker rotation is applied relative to map bearing.

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.