ScaleBar

interface ScaleBar

Interface for ScaleBar.

Functions

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

Properties

distancePerPixel
Link copied to clipboard
abstract var distancePerPixel: Float
How many meters in each pixel.
enable
Link copied to clipboard
abstract var enable: Boolean
Defines whether ScaleBar is enabled or disabled.
mapViewWidth
Link copied to clipboard
abstract var mapViewWidth: Float
Defines the width of mapView
pixelRatio
Link copied to clipboard
abstract var pixelRatio: Float
Defines the pixel ratio in the current display.
settings
Link copied to clipboard
abstract var settings: ScaleBarSettings
Defines settings fo ScaleBar
useContinuousRendering
Link copied to clipboard
abstract var useContinuousRendering: Boolean
If set to True scale bar will be triggering onDraw depending on ScaleBarSettings.refreshInterval even if actual data did not change.

Inheritors

ScaleBarImpl
Link copied to clipboard