CircleLayer
A circle layer draws points from the sourceLayer in the given source in the given style as a circles. If nothing else is specified, these will be black dots of 5 dp radius.
Parameters
Unique layer name.
Vector data source for this layer.
Layer to use from the given vector tile source.
The minimum zoom level for the layer. At zoom levels less than this, the layer will be hidden. A value in the range of [0..24]
.
The maximum zoom level for the layer. At zoom levels equal to or greater than this, the layer will be hidden. A value in the range of [0..24]
.
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 featureState expression is not supported in filter expressions.
Whether the layer should be displayed.
Sorts features within this layer in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
The geometry's offset relative to the translateAnchor. Negative numbers indicate left and up, respectively.
Frame of reference for offsetting geometry.
Ignored if translate is not set.
Circles opacity. A value in range [0..1]
.
Circles fill color.
Amount to blur the circle. A value of 1
blurs the circle such that only the centerpoint has full opacity.
Circles radius.
Opacity of the circles' stroke.
Circles' stroke color.
Thickness of the circles' stroke. Strokes are placed outside of the radius.
Scaling behavior of circles when the map is pitched.
Orientation of circles when the map is pitched.
Function to call when any feature in this layer has been clicked.
Function to call when any feature in this layer has been long-clicked.