ratio

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