ratio

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