Circle Layer
A filled circle.
See also
Parameters
the source that drives this layer.
the ID of the layer, by default, a random id will be generated with UUID.
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. Default value: 0.
Defines the transition of circleBlur. Default value: 0.
The fill color of the circle. Default value: "#000000".
Defines the transition of circleColor. Default value: "#000000".
Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.
Defines the transition of circleEmissiveStrength. Default value: 0. Minimum value: 0.
The opacity at which the circle will be drawn. Default value: 1. Value range: 0, 1
Defines the transition of circleOpacity. Default value: 1. Value range: 0, 1
Orientation of circle when map is pitched. Default value: "viewport".
Controls the scaling behavior of the circle when the map is pitched. Default value: "map".
Circle radius. Default value: 5. Minimum value: 0.
Defines the transition of circleRadius. Default value: 5. Minimum value: 0.
The stroke color of the circle. Default value: "#000000".
Defines the transition of circleStrokeColor. Default value: "#000000".
The opacity of the circle's stroke. Default value: 1. Value range: 0, 1
Defines the transition of circleStrokeOpacity. Default value: 1. Value range: 0, 1
The width of the circle's stroke. Strokes are placed outside of the circle-radius
. Default value: 0. Minimum value: 0.
Defines the transition of circleStrokeWidth. Default value: 0. Minimum value: 0.
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0.
Defines the transition of circleTranslate. Default value: 0,0.
Controls the frame of reference for circle-translate
. Default value: "map".
Whether this layer is displayed. Default value: "visible".
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden. Value range: 0, 24
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden. Value range: 0, 24
Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources.
An expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The ["feature-state", ...]
expression is not supported in filter expressions. The ["pitch"]
and ["distance-from-center"]
expressions are supported only for filter expressions on the symbol layer.