ScaleBar

Interface for ScaleBar.

interface ScaleBar

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

distancePerPixel
Link copied to clipboard

How many meters in each pixel.

abstract var distancePerPixel: Float
enable
Link copied to clipboard

Defines whether ScaleBar is enabled or disabled.

abstract var enable: Boolean
mapViewWidth
Link copied to clipboard

Defines the width of mapView

abstract var mapViewWidth: Float
settings
Link copied to clipboard

Defines settings fo ScaleBar

abstract var settings: ScaleBarSettings
useContinuousRendering
Link copied to clipboard

If set to True scale bar will be triggering onDraw depending on ScaleBarSettings.refreshInterval even if actual data did not change. If set to False scale bar will redraw only on demand.

Defaults to False and should not be changed explicitly in most cases. Could be set to True to produce correct GPU frame metrics when running gfxinfo command.

abstract var useContinuousRendering: Boolean

Inheritors

ScaleBarImpl
Link copied to clipboard