Props
A unique identifier for the layer.
If true, references an existing layer in the style instead of creating a new one.
The source from which to obtain the data to style. Inferred from parent source only if the layer is a direct child to it.
Identifier of the layer within the source identified by sourceID.
Inserts the layer above the specified layer ID.
Inserts the layer below the specified layer ID.
Inserts the layer at a specified index in the layer stack.
The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.v11 only
The minimum zoom level at which the layer is visible.
The maximum zoom level at which the layer is visible.
Filters features from the source layer based on a condition.
Customizable style attributes for the circle layer.
Style Properties
Controls whether the layer is displayed.
Circle radius in pixels. Minimum: 0
The fill color of the circle.
The opacity at which the circle will be drawn. Range: 0-1.
The width of the circle’s stroke in pixels. Strokes are placed outside of the circleRadius. Minimum: 0
The stroke color of the circle.
The opacity of the circle’s stroke. Range: 0-1.
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.