CircleLayer class
A filled circle.
Constructors
-
CircleLayer({required dynamic id, dynamic visibility, dynamic minZoom, dynamic maxZoom, required String sourceId, String? sourceLayer, double? circleSortKey, double? circleBlur, int? circleColor, 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.
getter/setter pair
- circleColor ↔ int?
-
The fill color of the circle.
getter/setter pair
- circleOpacity ↔ double?
-
The opacity at which the circle will be drawn.
getter/setter pair
- circlePitchAlignment ↔ CirclePitchAlignment?
-
Orientation of circle when map is pitched.
getter/setter pair
- circlePitchScale ↔ CirclePitchScale?
-
Controls the scaling behavior of the circle when the map is pitched.
getter/setter pair
- circleRadius ↔ double?
-
Circle radius.
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
- circleStrokeColor ↔ int?
-
The stroke color of the circle.
getter/setter pair
- circleStrokeOpacity ↔ double?
-
The opacity of the circle's stroke.
getter/setter pair
- circleStrokeWidth ↔ double?
-
The width of the circle's stroke. Strokes are placed outside of the
circle-radius
.getter/setter pair -
circleTranslate
↔ List<
double?> ? -
The geometry's offset. Values are
x, y
where negatives indicate left and up, respectively.getter/setter pair - circleTranslateAnchor ↔ CircleTranslateAnchor?
-
Controls the frame of reference for
circle-translate
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The ID of the Layer.
getter/setter pairinherited
- maxZoom ↔ double?
-
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
getter/setter pairinherited
- minZoom ↔ double?
-
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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
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