CircleAnnotationManager class
The CircleAnnotationManager to add/update/delete CircleAnnotationAnnotations on the map.
- Inheritance
-
- Object
- BaseAnnotationManager
- CircleAnnotationManager
Constructors
- CircleAnnotationManager({required String id, required BinaryMessenger messenger})
Properties
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