CircleAnnotationManager class

The CircleAnnotationManager to add/update/delete CircleAnnotationAnnotations on the map.

Inheritance

Constructors

CircleAnnotationManager({required String id, required BinaryMessenger messenger})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
messenger ↔ _CircleAnnotationMessenger
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOnCircleAnnotationClickListener(OnCircleAnnotationClickListener listener) → void
Add a listener to receive the callback when an annotation is clicked.
create(CircleAnnotationOptions annotation) Future<CircleAnnotation>
Create a new annotation with the option.
createMulti(List<CircleAnnotationOptions> annotations) Future<List<CircleAnnotation?>>
Create multi annotations with the options.
delete(CircleAnnotation annotation) Future<void>
Delete an added annotation.
deleteAll() Future<void>
Delete all the annotation added by this manager.
getCircleEmissiveStrength() Future<double?>
Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.
getCirclePitchAlignment() Future<CirclePitchAlignment?>
Orientation of circle when map is pitched. Default value: "viewport".
getCirclePitchScale() Future<CirclePitchScale?>
Controls the scaling behavior of the circle when the map is pitched. Default value: "map".
getCircleTranslate() Future<List<double?>?>
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0.
getCircleTranslateAnchor() Future<CircleTranslateAnchor?>
Controls the frame of reference for circle-translate. Default value: "map".
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCircleEmissiveStrength(double circleEmissiveStrength) Future<void>
Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.
setCirclePitchAlignment(CirclePitchAlignment circlePitchAlignment) Future<void>
Orientation of circle when map is pitched. Default value: "viewport".
setCirclePitchScale(CirclePitchScale circlePitchScale) Future<void>
Controls the scaling behavior of the circle when the map is pitched. Default value: "map".
setCircleTranslate(List<double?> circleTranslate) Future<void>
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. Default value: 0,0.
setCircleTranslateAnchor(CircleTranslateAnchor circleTranslateAnchor) Future<void>
Controls the frame of reference for circle-translate. Default value: "map".
toString() String
A string representation of this object.
inherited
update(CircleAnnotation annotation) Future<void>
Update an added annotation with new properties.

Operators

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