` "map" ` :

    

Circles are scaled according to their apparent distance to the camera.

` "viewport" ` :

    

Circles are not scaled.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.21.0  |  >= 4.2.0  |  >= 3.4.0   
  
###  circle-radius  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) greater than or equal to ` 0 ` .
Units in  pixels  .  Defaults to ` 5 ` .  Supports  _[ combine  ` feature-
state ` ](/style-spec/reference/expressions/#feature-state) _ and [ smooth-
ramp  ` interpolate ` ](/style-spec/reference/expressions/#interpolate)
expressions.  opacity  Transitionable.

Circle radius.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
data-driven styling  |  >= 0.18.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  circle-sort-key  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) .

Sorts features in ascending order based on this value. Features with a higher
sort key will appear above features with a lower sort key.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 1.2.0  |  >= 9.2.0  |  >= 5.9.0   
data-driven styling  |  >= 1.2.0  |  >= 9.2.0  |  >= 5.9.0   
  
###  circle-stroke-color  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
color ](/style-spec/reference/types/#color) .  Defaults to ` "#000000" ` .
Supports  _[ combine  ` feature-state ` ](/style-
spec/reference/expressions/#feature-state) _ and [ smooth-ramp  ` interpolate
` ](/style-spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The stroke color of the circle.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
data-driven styling  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  circle-stroke-opacity  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 1 ` .  Supports  _[ combine  ` feature-state `
](/style-spec/reference/expressions/#feature-state) _ and [ smooth-ramp  `
interpolate ` ](/style-spec/reference/expressions/#interpolate) expressions.
opacity  Transitionable.

The opacity of the circle's stroke.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
data-driven styling  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  circle-stroke-width  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) greater than or equal to ` 0 ` .
Units in  pixels  .  Defaults to ` 0 ` .  Supports  _[ combine  ` feature-
state ` ](/style-spec/reference/expressions/#feature-state) _ and [ smooth-
ramp  ` interpolate ` ](/style-spec/reference/expressions/#interpolate)
expressions.  opacity  Transitionable.

The width of the circle's stroke. Strokes are placed outside of the ` circle-
radius ` .

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
data-driven styling  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  circle-translate  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
array ](/style-spec/reference/types/#array) of  [ number  s ](/style-
spec/reference/types/#number) .  Units in  pixels  .  Defaults to ` [0,0] ` .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The geometry's offset. Values are [x, y] where negatives indicate left and up,
respectivel