Scale Bar Settings
data class ScaleBarSettings @JvmOverloads() constructor(enabled: Boolean, position: Int, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float, textColor: Int, primaryColor: Int, secondaryColor: Int, borderWidth: Float, height: Float, textBarMargin: Float, textBorderWidth: Float, textSize: Float, isMetricUnits: Boolean, refreshInterval: Long, showTextBorder: Boolean, ratio: Float, useContinuousRendering: Boolean)
Content copied to clipboard
Shows the scale bar on the map.
Constructors
ScaleBarSettings
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Properties
borderWidth
Link copied to clipboard
isMetricUnits
Link copied to clipboard
marginBottom
Link copied to clipboard
marginLeft
Link copied to clipboard
marginRight
Link copied to clipboard
primaryColor
Link copied to clipboard
refreshInterval
Link copied to clipboard
secondaryColor
Link copied to clipboard
showTextBorder
Link copied to clipboard
textBarMargin
Link copied to clipboard
textBorderWidth
Link copied to clipboard
useContinuousRendering
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.