default Scale Bar Settings
fun defaultScaleBarSettings(context: Context, pixelRatio: Float = context.resources.displayMetrics.density): ScaleBarSettings
Create a default ScaleBarSettings.
Parameters
context
the application context
pixel Ratio
the pixel ratio to be applied to the margins and size of the scale bar.