defaultScaleBarSettings

fun defaultScaleBarSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): ScaleBarSettings

Create a default ScaleBarSettings.

Parameters

context

the application context

pixelRatio

the pixel ratio to be applied to the margins and size of the scale bar.