textBarMargin property

double? textBarMargin
getter/setter pair

Defines margin of the text bar of the scale bar. Default value: 8.

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? textBarMargin;