CircleLayer class final

A filled circle.

Inheritance

Constructors

CircleLayer({required String id, Visibility? visibility, List<Object>? visibilityExpression, List<Object>? filter, double? minZoom, double? maxZoom, String? slot, required String sourceId, String? sourceLayer, CircleElevationReference? circleElevationReference, List<Object>? circleElevationReferenceExpression, double? circleSortKey, List<Object>? circleSortKeyExpression, double? circleBlur, List<Object>? circleBlurExpression, int? circleColor, List<Object>? circleColorExpression, double? circleEmissiveStrength, List<Object>? circleEmissiveStrengthExpression, double? circleOpacity, List<Object>? circleOpacityExpression, CirclePitchAlignment? circlePitchAlignment, List<Object>? circlePitchAlignmentExpression, CirclePitchScale? circlePitchScale, List<Object>? circlePitchScaleExpression, double? circleRadius, List<Object>? circleRadiusExpression, int? circleStrokeColor, List<Object>? circleStrokeColorExpression, double? circleStrokeOpacity, List<Object>? circleStrokeOpacityExpression, double? circleStrokeWidth, List<Object>? circleStrokeWidthExpression, List<double?>? circleTranslate, List<Object>? circleTranslateExpression, CircleTranslateAnchor? circleTranslateAnchor, List<Object>? circleTranslateAnchorExpression})

Properties

circleBlur ↔ double?
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. Setting a negative value renders the blur as an inner glow effect. Default value: 0.
getter/setter pair
circleBlurExpression ↔ List<Object>?
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. Setting a negative value renders the blur as an inner glow effect. Default value: 0.
getter/setter pair
circleColor ↔ int?
The fill color of the circle. Default value: "#000000".
getter/setter pair
circleColorExpression ↔ List<Object>?
The fill color of the circle. Default value: "#000000".
getter/setter pair
circleElevationReference ↔ CircleElevationReference?
Selects the base of circle-elevation. Some modes might require precomputed elevation data in the tileset. Default value: "none".
getter/setter pair
circleElevationReferenceExpression ↔ List<Object>?
Selects the base of circle-elevation. Some modes might require precomputed elevation data in the tileset. Default value: "none".
getter/setter pair
circleEmissiveStrength ↔ double?
Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0. The unit of circleEmissiveStrength is in intensity.
getter/setter pair
circleEmissiveStrengthExpression ↔ List<Object>?
Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0. The unit of circleEmissiveStrength is in intensity.
getter/setter pair
circleOpacity ↔ double?
The opacity at which the circle will be drawn. Default value: 1. Value range: 0, 1
getter/setter pair
circleOpacityExpression ↔ List<Object>?
The opacity at which the circle will be drawn. Default value: 1. Value range: 0, 1
getter/setter pair
circlePitchAlignment ↔ CirclePitchAlignment?
Orientation of circle when map is pitched. Default value: "viewport".
getter/setter pair
circlePitchAlignmentExpression ↔ List<Object>?
Orientation of circle when map is pitched. Default value: "viewport".
getter/setter pair
circlePitchScale ↔ CirclePitchScale?
Controls the scaling behavior of the circle when the map is pitched. Default value: "map".
getter/setter pair
circlePitchScaleExpression ↔ List<Object>?
Controls the scaling behavior of the circle when the map is pitched. Default value: "map".
getter/setter pair
circleRadius ↔ double?
Circle radius. Default value: 5. Minimum value: 0. The unit of circleRadius is in pixels.
getter/setter pair
circleRadiusExpression ↔ List<Object>?
Circle radius. Default value: 5. Minimum value: 0. The unit of circleRadius is in pixels.
getter/setter pair
circleSortKey ↔ double?
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
getter/setter pair
circleSortKeyExpression ↔ List<Object>?
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
getter/setter pair
circleStrokeColor ↔ int?
The stroke color of the circle. Default value: "#000000".
getter/setter pair
circleStrokeColorExpression ↔ List<Object>?
The stroke color of the circle. Default value: "#000000".
getter/setter pair
circleStrokeOpacity ↔ double?
The opacity of the circle's stroke. Default value: 1. Value range: 0, 1
getter/setter pair
circleStrokeOpacityExpression ↔ List<Object>?
The opacity of the circle's stroke. Default value: 1. Value range: 0, 1
getter/setter pair
circleStrokeWidth ↔ double?
The width of the circle's stroke. Strokes are placed outside of the circle-radius. Default value: 0. Minimum value: 0. The unit of circleStrokeWidth is in pixels.
getter/setter pair
circleStrokeWidthExpression ↔ List<Object>?
The width of the circle's stroke. Strokes are placed outside of the circle-radius. Default value: 0. Minimum value: 0. The unit of circleStrokeWidth is in pixels.
getter/setter pair
circleTranslate ↔ List<double?>?
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0. The unit of circleTranslate is in pixels.
getter/setter pair
circleTranslateAnchor ↔ CircleTranslateAnchor?
Controls the frame of reference for circle-translate. Default value: "map".
getter/setter pair
circleTranslateAnchorExpression ↔ List<Object>?
Controls the frame of reference for circle-translate. Default value: "map".
getter/setter pair
circleTranslateExpression ↔ List<Object>?
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0. The unit of circleTranslate is in pixels.
getter/setter pair
filter ↔ List<Object>?
Expression specifying conditions on source features. Only features that match the filter are displayed.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The ID of the Layer.
getter/setter pairinherited
maxZoom ↔ double?
Maximum zoom level. At zoom levels equal to or greater than this, the layer is hidden. Range: 0 to 24.
getter/setter pairinherited
minZoom ↔ double?
Minimum zoom level. At zoom levels less than this, the layer is hidden. Range: 0 to 24.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slot ↔ String?
The slot this layer is assigned to. If specified and a slot with that name exists, the layer is placed at that slot's position in the layer order.
getter/setter pairinherited
sourceId ↔ String
The id of the source.
getter/setter pair
sourceLayer ↔ String?
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
getter/setter pair
visibility ↔ Visibility?
The visibility of the layer.
getter/setter pairinherited
visibilityExpression ↔ List<Object>?
The visibility of the layer, expressed as a style expression.
getter/setter pairinherited

Methods

getType() → String
Returns the layer's type as a String (e.g. "fill", "line").
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decode(String properties) → CircleLayer