mber) greater than or equal to ` 0 `
.  Units in  pixels  .  Defaults to ` 2 ` .  _Requires_ text-field  .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.

Size of the additional area around the text bounding box used for detecting
symbol collisions.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
  
###  text-pitch-alignment  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ enum ](/style-spec/reference/types/#enum) .  One of  ` "map" ` , `
"viewport" ` , ` "auto" ` .  Defaults to ` "auto" ` .  _Requires_ text-field
.

Orientation of text when map is pitched.

` "map" ` :

    

The text is aligned to the plane of the map.

` "viewport" ` :

    

The text is aligned to the plane of the viewport.

` "auto" ` :

    

Automatically matches the value of ` text-rotation-alignment ` .

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.21.0  |  >= 4.2.0  |  >= 3.4.0   
` auto ` value  |  >= 0.25.0  |  >= 4.2.0  |  >= 3.4.0   
  
###  text-radial-offset  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) .  Units in  ems  .  Defaults
to ` 0 ` .  _Requires_ text-field  .  Supports  [ smooth-ramp  ` interpolate `
](/style-spec/reference/expressions/#interpolate) expressions.

Radial offset of text, in the direction of the symbol's anchor. Useful in
combination with ` text-variable-anchor ` , which defaults to using the two-
dimensional ` text-offset ` if present.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.54.0  |  >= 7.4.0  |  >= 4.10.0   
data-driven styling  |  >= 0.54.0  |  >= 7.4.0  |  >= 4.10.0   
  
###  text-rotate  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) .  Units in  degrees  .
Defaults to ` 0 ` .  _Requires_ text-field  .  Supports  [ smooth-ramp  `
interpolate ` ](/style-spec/reference/expressions/#interpolate) expressions.

Rotates the text clockwise.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
data-driven styling  |  >= 0.35.0  |  >= 5.1.0  |  >= 3.6.0   
  
###  text-rotation-alignment  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ enum ](/style-spec/reference/types/#enum) .  One of  ` "map" ` , `
"viewport" ` , ` "auto" ` .  Defaults to ` "auto" ` .  _Requires_ text-field
.

In combination with ` symbol-placement ` , determines the rotation behavior of
the individual glyphs forming the text.

` "map" ` :

    

When ` symbol-placement ` is set to ` point ` , aligns text east-west. When `
symbol-placement ` is set to ` line ` or ` line-center ` , aligns text x-axes
with the line.

` "viewport" ` :

    

Produces glyphs whose x-axes are aligned with the x-axis of the viewport,
regardless of the value of ` symbol-placement ` .

` "auto" ` :

    

When ` symbol-placement ` is set to ` point ` , this is equivalent to `
viewport ` . When ` symbol-placement ` is set to ` line ` or ` line-center ` ,
this is equivalent to ` map ` .

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
` auto ` value  |  >= 0.25.0  |  >= 4.2.0  |  >= 3.4.0   
  
###  text-size  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) greater than or equal to ` 0 `
.  Units in  pixels  .  Defaults to ` 16 ` .  _Requires_ text-field  .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.

Font size.

SDK Support  |  Mapbox GL JS  |