MinimapRenderOptions

data class MinimapRenderOptions(val devicePpi: DevicePpi? = null, val deviceDensity: DeviceDensity? = null)

View-layer options of the minimap. Mirrors MapRenderOptions except for the options fixed by the minimap itself: the copyright is always hidden (it duplicates the one of the main map), and the render mode is always TEXTURE — the minimap is clipped to a circle, which SurfaceView does not support.

Constructors

Link copied to clipboard
constructor(devicePpi: DevicePpi? = null, deviceDensity: DeviceDensity? = null)

Properties

Link copied to clipboard
val deviceDensity: DeviceDensity? = null

Screen density multiplier. When null, detected from DisplayMetrics.

Link copied to clipboard
val devicePpi: DevicePpi? = null

Device PPI for correct map scaling. When null, detected from DisplayMetrics.