ScaleBar

interface ScaleBar

Interface for ScaleBar.

Properties

Link copied to clipboard
abstract var distancePerPixel: Float

How many meters in each pixel.

Link copied to clipboard
abstract var enable: Boolean

Defines whether ScaleBar is enabled or disabled.

Link copied to clipboard
abstract var mapViewWidth: Float

Defines the width of mapView

Link copied to clipboard
abstract var pixelRatio: Float

Defines the pixel ratio in the current display.

Link copied to clipboard

Defines settings fo ScaleBar

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.

Inheritors

Link copied to clipboard