CircleLayer class

A filled circle.

Inheritance

Constructors

CircleLayer({required String id, Visibility? visibility, double? minZoom, double? maxZoom, String? slot, required String sourceId, String? sourceLayer, double? circleSortKey, double? circleBlur, int? circleColor, double? circleEmissiveStrength, double? circleOpacity, CirclePitchAlignment? circlePitchAlignment, CirclePitchScale? circlePitchScale, double? circleRadius, int? circleStrokeColor, double? circleStrokeOpacity, double? circleStrokeWidth, List<double?>? circleTranslate, CircleTranslateAnchor? circleTranslateAnchor})

Properties

circleBlur double?
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
read / write
circleColor int?
The fill color of the circle.
read / write
circleEmissiveStrength double?
Controls the intensity of light emitted on the source features.
read / write
circleOpacity double?
The opacity at which the circle will be drawn.
read / write
circlePitchAlignment CirclePitchAlignment?
Orientation of circle when map is pitched.
read / write
circlePitchScale CirclePitchScale?
Controls the scaling behavior of the circle when the map is pitched.
read / write
circleRadius double?
Circle radius.
read / write
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.
read / write
circleStrokeColor int?
The stroke color of the circle.
read / write
circleStrokeOpacity double?
The opacity of the circle's stroke.
read / write
circleStrokeWidth double?
The width of the circle's stroke. Strokes are placed outside of the circle-radius.
read / write
circleTranslate List<double?>?
The geometry's offset. Values are x, y where negatives indicate left and up, respectively.
read / write
circleTranslateAnchor CircleTranslateAnchor?
Controls the frame of reference for circle-translate.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
The ID of the Layer.
read / writeinherited
maxZoom double?
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
read / writeinherited
minZoom double?
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
slot String?
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.
read / writeinherited
sourceId String
The id of the source.
read / write
sourceLayer String?
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
read / write
visibility Visibility?
The visibility of the layer.
read / writeinherited

Methods

getType() String
Get the type of current layer as a String.
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