CircleLayer class Layers

A Point layer.

Inheritance
Annotations

Constructors

CircleLayer({required List<Point> points, int radius = 5, Color color = const Color(0xFF000000), double blur = 0, int strokeWidth = 0, Color strokeColor = const Color(0xFF000000)})
Create a new CircleLayer instance.
const

Properties

blur → double
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
final
color → Color
The color of the circle. Defaults to black.
final
hashCode → int
The hash code for this object.
no setteroverride
list → List<Point>
The List of layers.
finalinherited
opacity → double
The opacity at which the circle will be drawn.
no setter
radius → int
Circle radius in pixels. Defaults to 5px.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strokeColor → Color
The outline color
final
strokeOpacity → double
The opacity of the circle's stroke.
no setter
strokeWidth → int
The outline width
final

Methods

createStyleLayer(int index) → StyleLayer
Add the annotation layer to the map.
override
getLayerId(int index) → String
Get a unique layer id.
inherited
getLayout() → Map<String, Object>
Build the layout properties.
override
getPaint() → Map<String, Object>
Build the paint properties.
override
getSourceId(int index) → String
Get a unique source id.
inherited
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.
override