ScaleBar

interface ScaleBar

Interface for ScaleBar.

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. If set to False scale bar will redraw only on demand.

Inheritors

ScaleBarImpl
Link copied to clipboard