textBorderWidth property

double? textBorderWidth
getter/setter pair

Defines text border width of the scale bar. Default value: 2.

Has no effect on web: Mapbox GL JS has no equivalent option, so the value is stored and returned by getSettings but is not applied.

Implementation

double? textBorderWidth;