MapSnapshotInterface(androidJvm)

An image snapshot of a map rendered by `map snapshotter`.

interface MapSnapshotInterface(androidJvm)

Functions

attributions
Link copied to clipboard

Get list of attributions for the sources in this snapshot.

abstract fun attributions(): List<String>
coordinate
Link copied to clipboard

Calculate geographical coordinates from a point on the snapshot.

abstract fun coordinate(screenCoordinate: ScreenCoordinate): Point
image
Link copied to clipboard

Get the rendered snapshot `image`.

abstract fun image(): Image
screenCoordinate
Link copied to clipboard

Calculate screen coordinate on the snapshot from geographical `coordinate`.

abstract fun screenCoordinate(coordinate: Point): ScreenCoordinate

Inheritors

MapSnapshot
Link copied to clipboard

Extensions

bitmap
Link copied to clipboard

Extension function to obtain Bitmap from snapshotter converted from Image.

fun MapSnapshotInterface.bitmap(): Bitmap