primaryColor property

int? primaryColor
getter/setter pair

Defines primary color of the scale bar. Default value: "black".

On web this becomes the border color of the scale bar label: Mapbox GL JS draws no ruler segments to alternate between this color and secondaryColor.

Implementation

int? primaryColor;