ratio

open override var ratio: Float

configures ratio of scale bar max width compared with MapView width, default is 0.5.