PointAnnotationManager class

The PointAnnotationManager to add/update/delete PointAnnotationAnnotations on the map.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOnPointAnnotationClickListener(OnPointAnnotationClickListener listener) → void
Add a listener to receive the callback when an annotation is clicked.
create(PointAnnotationOptions annotation) → Future<PointAnnotation>
Create a new annotation with the option.
createMulti(List<PointAnnotationOptions> annotations) → Future<List<PointAnnotation?>>
Create multi annotations with the options.
delete(PointAnnotation annotation) → Future<void>
Delete an added annotation.
deleteAll() → Future<void>
Delete all the annotation added by this manager.
deleteMulti(List<PointAnnotation> annotations) → Future<void>
Delete multiple annotations added by this manager.
dragEvents({dynamic onBegin(PointAnnotation)?, dynamic onChanged(PointAnnotation)?, dynamic onEnd(PointAnnotation)?}) → Cancelable
Registers drag event callbacks for the annotations managed by this manager.
getAnnotations() → Future<List<PointAnnotation>>
Get all annotations of manager.
getIconAllowOverlap() → Future<bool?>
If true, the icon will be visible even if it collides with other previously drawn symbols. Default value: false.
getIconAnchor() → Future<IconAnchor?>
Part of the icon placed closest to the anchor. Default value: "center".
getIconColor() → Future<int?>
The color of the icon. This can only be used with SDF icons. Default value: "#000000".
getIconColorBrightnessMax() → Future<double?>
Increase or reduce the brightness of the symbols. The value is the maximum brightness. Default value: 1. Value range: 0, 1
getIconColorBrightnessMin() → Future<double?>
Increase or reduce the brightness of the symbols. The value is the minimum brightness. Default value: 0. Value range: 0, 1
getIconColorContrast() → Future<double?>
Increase or reduce the contrast of the symbol icon. Default value: 0. Value range: -1, 1
getIconColorSaturation() → Future<double?>
Increase or reduce the saturation of the symbol icon. Default value: 0. Value range: -1, 1
getIconEmissiveStrength() → Future<double?>
Controls the intensity of light emitted on the source features. Default value: 1. Minimum value: 0. The unit of iconEmissiveStrength is in intensity.
getIconHaloBlur() → Future<double?>
Fade out the halo towards the outside. Default value: 0. Minimum value: 0. The unit of iconHaloBlur is in pixels.
getIconHaloColor() → Future<int?>
The color of the icon's halo. Icon halos can only be used with SDF icons. Default value: "rgba(0, 0, 0, 0)".
getIconHaloWidth() → Future<double?>
Distance of halo to the icon outline. Default value: 0. Minimum value: 0. The unit of iconHaloWidth is in pixels.
getIconIgnorePlacement() → Future<bool?>
If true, other symbols can be visible even if they collide with the icon. Default value: false.
getIconImage() → Future<String?>
Name of image in sprite to use for drawing an image background.
getIconImageCrossFade() → Future<double?>
Controls the transition progress between the image variants of icon-image. Zero means the first variant is used, one is the second, and in between they are blended together. . Both images should be the same size and have the same type (either raster or vector). Default value: 0. Value range: 0, 1
getIconKeepUpright() → Future<bool?>
If true, the icon may be flipped to prevent it from being rendered upside-down. Default value: false.
getIconOcclusionOpacity() → Future<double?>
The opacity at which the icon will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only. Default value: 0. Value range: 0, 1
getIconOffset() → Future<List<double?>?>
Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up. Default value: 0,0.
getIconOpacity() → Future<double?>
The opacity at which the icon will be drawn. Default value: 1. Value range: 0, 1
getIconOptional() → Future<bool?>
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not. Default value: false.
getIconPadding() → Future<double?>
Size of the additional area around the icon bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0. The unit of iconPadding is in pixels.
getIconPitchAlignment() → Future<IconPitchAlignment?>
Orientation of icon when map is pitched. Default value: "auto".
getIconRotate() → Future<double?>
Rotates the icon clockwise. Default value: 0. The unit of iconRotate is in degrees.
getIconRotationAlignment() → Future<IconRotationAlignment?>
In combination with symbol-placement, determines the rotation behavior of icons. Default value: "auto".
getIconSize() → Future<double?>
Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image. Default value: 1. Minimum value: 0. The unit of iconSize is in factor of the original icon size.
getIconSizeScaleRange() → Future<List<double?>?>
Limits the possible scaling range for icon-size, icon-halo-width, icon-halo-blur properties to be within min-scale, max-scale Default value: 0.8,2. Minimum value: 0.1,0.1. Maximum value: 10,10.
getIconTextFit() → Future<IconTextFit?>
Scales the icon to fit around the associated text. Default value: "none".
getIconTextFitPadding() → Future<List<double?>?>
Size of the additional area added to dimensions determined by icon-text-fit, in clockwise order: top, right, bottom, left. Default value: 0,0,0,0. The unit of iconTextFitPadding is in pixels.
getIconTranslate() → Future<List<double?>?>
Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0. The unit of iconTranslate is in pixels.
getIconTranslateAnchor() → Future<IconTranslateAnchor?>
Controls the frame of reference for icon-translate. Default value: "map".
getOcclusionOpacityMode() → Future<OcclusionOpacityMode?>
Specify how opacity in case of being occluded should be applied Default value: "anchor".
getSymbolAvoidEdges() → Future<bool?>
If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries. Default value: false.
getSymbolElevationReference() → Future<SymbolElevationReference?>
Selects the base of symbol-elevation. Default value: "ground".
getSymbolPlacement() → Future<SymbolPlacement?>
Label placement relative to its geometry. Default value: "point".
getSymbolSortKey() → Future<double?>
Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.
getSymbolSpacing() → Future<double?>
Distance between two symbol anchors. Default value: 250. Minimum value: 1. The unit of symbolSpacing is in pixels.
getSymbolZElevate() → Future<bool?>
Position symbol on buildings (both fill extrusions and models) rooftops. In order to have minimal impact on performance, this is supported only when fill-extrusion-height is not zoom-dependent and remains unchanged. For fading in buildings when zooming in, fill-extrusion-vertical-scale should be used and symbols would raise with building rooftops. Symbols are sorted by elevation, except in cases when viewport-y sorting or symbol-sort-key are applied. Default value: false.
getSymbolZOffset() → Future<double?>
Specifies an uniform elevation from the ground, in meters. Default value: 0. Minimum value: 0.
getSymbolZOrder() → Future<SymbolZOrder?>
Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key. Default value: "auto".
getTextAllowOverlap() → Future<bool?>
If true, the text will be visible even if it collides with other previously drawn symbols. Default value: false.
getTextAnchor() → Future<TextAnchor?>
Part of the text placed closest to the anchor. Default value: "center".
getTextColor() → Future<int?>
The color with which the text will be drawn. Default value: "#000000".
getTextEmissiveStrength() → Future<double?>
Controls the intensity of light emitted on the source features. Default value: 1. Minimum value: 0. The unit of textEmissiveStrength is in intensity.
getTextField() → Future<String?>
Value to use for a text label. If a plain string is provided, it will be treated as a formatted with default/inherited formatting options. SDF images are not supported in formatted text and will be ignored. Default value: "".
getTextFont() → Future<List<String?>?>
Font stack to use for displaying text.
getTextHaloBlur() → Future<double?>
The halo's fadeout distance towards the outside. Default value: 0. Minimum value: 0. The unit of textHaloBlur is in pixels.
getTextHaloColor() → Future<int?>
The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".
getTextHaloWidth() → Future<double?>
Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. Default value: 0. Minimum value: 0. The unit of textHaloWidth is in pixels.
getTextIgnorePlacement() → Future<bool?>
If true, other symbols can be visible even if they collide with the text. Default value: false.
getTextJustify() → Future<TextJustify?>
Text justification options. Default value: "center".
getTextKeepUpright() → Future<bool?>
If true, the text may be flipped vertically to prevent it from being rendered upside-down. Default value: true.
getTextLetterSpacing() → Future<double?>
Text tracking amount. Default value: 0. The unit of textLetterSpacing is in ems.
getTextLineHeight() → Future<double?>
Text leading value for multi-line text. Default value: 1.2. The unit of textLineHeight is in ems.
getTextMaxAngle() → Future<double?>
Maximum angle change between adjacent characters. Default value: 45. The unit of textMaxAngle is in degrees.
getTextMaxWidth() → Future<double?>
The maximum line width for text wrapping. Default value: 10. Minimum value: 0. The unit of textMaxWidth is in ems.
getTextOcclusionOpacity() → Future<double?>
The opacity at which the text will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only. Default value: 0. Value range: 0, 1
getTextOffset() → Future<List<double?>?>
Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position. Default value: 0,0. The unit of textOffset is in ems.
getTextOpacity() → Future<double?>
The opacity at which the text will be drawn. Default value: 1. Value range: 0, 1
getTextOptional() → Future<bool?>
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.
getTextPadding() → Future<double?>
Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0. The unit of textPadding is in pixels.
getTextPitchAlignment() → Future<TextPitchAlignment?>
Orientation of text when map is pitched. Default value: "auto".
getTextRadialOffset() → Future<double?>
Radial offset of text, in the direction of the symbol's anchor. Useful in combination with text-variable-anchor, which defaults to using the two-dimensional text-offset if present. Default value: 0. The unit of textRadialOffset is in ems.
getTextRotate() → Future<double?>
Rotates the text clockwise. Default value: 0. The unit of textRotate is in degrees.
getTextRotationAlignment() → Future<TextRotationAlignment?>
In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text. Default value: "auto".
getTextSize() → Future<double?>
Font size. Default value: 16. Minimum value: 0. The unit of textSize is in pixels.
getTextSizeScaleRange() → Future<List<double?>?>
Limits the possible scaling range for text-size, text-halo-width, text-halo-blur properties to be within min-scale, max-scale Default value: 0.8,2. Minimum value: 0.1,0.1. Maximum value: 10,10.
getTextTransform() → Future<TextTransform?>
Specifies how to capitalize text, similar to the CSS text-transform property. Default value: "none".
getTextTranslate() → Future<List<double?>?>
Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0. The unit of textTranslate is in pixels.
getTextTranslateAnchor() → Future<TextTranslateAnchor?>
Controls the frame of reference for text-translate. Default value: "map".
longPressEvents({required dynamic onLongPress(PointAnnotation)}) → Cancelable
Registers long press event callbacks for the annotations managed by this manager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIconAllowOverlap(bool iconAllowOverlap) → Future<void>
If true, the icon will be visible even if it collides with other previously drawn symbols. Default value: false.
setIconAnchor(IconAnchor iconAnchor) → Future<void>
Part of the icon placed closest to the anchor. Default value: "center".
setIconColor(int iconColor) → Future<void>
The color of the icon. This can only be used with SDF icons. Default value: "#000000".
setIconColorBrightnessMax(double iconColorBrightnessMax) → Future<void>
Increase or reduce the brightness of the symbols. The value is the maximum brightness. Default value: 1. Value range: 0, 1
setIconColorBrightnessMin(double iconColorBrightnessMin) → Future<void>
Increase or reduce the brightness of the symbols. The value is the minimum brightness. Default value: 0. Value range: 0, 1
setIconColorContrast(double iconColorContrast) → Future<void>
Increase or reduce the contrast of the symbol icon. Default value: 0. Value range: -1, 1
setIconColorSaturation(double iconColorSaturation) → Future<void>
Increase or reduce the saturation of the symbol icon. Default value: 0. Value range: -1, 1
setIconEmissiveStrength(double iconEmissiveStrength) → Future<void>
Controls the intensity of light emitted on the source features. Default value: 1. Minimum value: 0. The unit of iconEmissiveStrength is in intensity.
setIconHaloBlur(double iconHaloBlur) → Future<void>
Fade out the halo towards the outside. Default value: 0. Minimum value: 0. The unit of iconHaloBlur is in pixels.
setIconHaloColor(int iconHaloColor) → Future<void>
The color of the icon's halo. Icon halos can only be used with SDF icons. Default value: "rgba(0, 0, 0, 0)".
setIconHaloWidth(double iconHaloWidth) → Future<void>
Distance of halo to the icon outline. Default value: 0. Minimum value: 0. The unit of iconHaloWidth is in pixels.
setIconIgnorePlacement(bool iconIgnorePlacement) → Future<void>
If true, other symbols can be visible even if they collide with the icon. Default value: false.
setIconImage(String iconImage) → Future<void>
Name of image in sprite to use for drawing an image background.
setIconImageCrossFade(double iconImageCrossFade) → Future<void>
Controls the transition progress between the image variants of icon-image. Zero means the first variant is used, one is the second, and in between they are blended together. . Both images should be the same size and have the same type (either raster or vector). Default value: 0. Value range: 0, 1
setIconKeepUpright(bool iconKeepUpright) → Future<void>
If true, the icon may be flipped to prevent it from being rendered upside-down. Default value: false.
setIconOcclusionOpacity(double iconOcclusionOpacity) → Future<void>
The opacity at which the icon will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only. Default value: 0. Value range: 0, 1
setIconOffset(List<double?> iconOffset) → Future<void>
Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up. Default value: 0,0.
setIconOpacity(double iconOpacity) → Future<void>
The opacity at which the icon will be drawn. Default value: 1. Value range: 0, 1
setIconOptional(bool iconOptional) → Future<void>
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not. Default value: false.
setIconPadding(double iconPadding) → Future<void>
Size of the additional area around the icon bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0. The unit of iconPadding is in pixels.
setIconPitchAlignment(IconPitchAlignment iconPitchAlignment) → Future<void>
Orientation of icon when map is pitched. Default value: "auto".
setIconRotate(double iconRotate) → Future<void>
Rotates the icon clockwise. Default value: 0. The unit of iconRotate is in degrees.
setIconRotationAlignment(IconRotationAlignment iconRotationAlignment) → Future<void>
In combination with symbol-placement, determines the rotation behavior of icons. Default value: "auto".
setIconSize(double iconSize) → Future<void>
Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image. Default value: 1. Minimum value: 0. The unit of iconSize is in factor of the original icon size.
setIconSizeScaleRange(List<double?> iconSizeScaleRange) → Future<void>
Limits the possible scaling range for icon-size, icon-halo-width, icon-halo-blur properties to be within min-scale, max-scale Default value: 0.8,2. Minimum value: 0.1,0.1. Maximum value: 10,10.
setIconTextFit(IconTextFit iconTextFit) → Future<void>
Scales the icon to fit around the associated text. Default value: "none".
setIconTextFitPadding(List<double?> iconTextFitPadding) → Future<void>
Size of the additional area added to dimensions determined by icon-text-fit, in clockwise order: top, right, bottom, left. Default value: 0,0,0,0. The unit of iconTextFitPadding is in pixels.
setIconTranslate(List<double?> iconTranslate) → Future<void>
Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0. The unit of iconTranslate is in pixels.
setIconTranslateAnchor(IconTranslateAnchor iconTranslateAnchor) → Future<void>
Controls the frame of reference for icon-translate. Default value: "map".
setOcclusionOpacityMode(OcclusionOpacityMode occlusionOpacityMode) → Future<void>
Specify how opacity in case of being occluded should be applied Default value: "anchor".
setSymbolAvoidEdges(bool symbolAvoidEdges) → Future<void>
If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries. Default value: false.
setSymbolElevationReference(SymbolElevationReference symbolElevationReference) → Future<void>
Selects the base of symbol-elevation. Default value: "ground".
setSymbolPlacement(SymbolPlacement symbolPlacement) → Future<void>
Label placement relative to its geometry. Default value: "point".
setSymbolSortKey(double symbolSortKey) → Future<void>
Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.
setSymbolSpacing(double symbolSpacing) → Future<void>
Distance between two symbol anchors. Default value: 250. Minimum value: 1. The unit of symbolSpacing is in pixels.
setSymbolZElevate(bool symbolZElevate) → Future<void>
Position symbol on buildings (both fill extrusions and models) rooftops. In order to have minimal impact on performance, this is supported only when fill-extrusion-height is not zoom-dependent and remains unchanged. For fading in buildings when zooming in, fill-extrusion-vertical-scale should be used and symbols would raise with building rooftops. Symbols are sorted by elevation, except in cases when viewport-y sorting or symbol-sort-key are applied. Default value: false.
setSymbolZOffset(double symbolZOffset) → Future<void>
Specifies an uniform elevation from the ground, in meters. Default value: 0. Minimum value: 0.
setSymbolZOrder(SymbolZOrder symbolZOrder) → Future<void>
Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key. Default value: "auto".
setTextAllowOverlap(bool textAllowOverlap) → Future<void>
If true, the text will be visible even if it collides with other previously drawn symbols. Default value: false.
setTextAnchor(TextAnchor textAnchor) → Future<void>
Part of the text placed closest to the anchor. Default value: "center".
setTextColor(int textColor) → Future<void>
The color with which the text will be drawn. Default value: "#000000".
setTextEmissiveStrength(double textEmissiveStrength) → Future<void>
Controls the intensity of light emitted on the source features. Default value: 1. Minimum value: 0. The unit of textEmissiveStrength is in intensity.
setTextField(String textField) → Future<void>
Value to use for a text label. If a plain string is provided, it will be treated as a formatted with default/inherited formatting options. SDF images are not supported in formatted text and will be ignored. Default value: "".
setTextFont(List<String?> textFont) → Future<void>
Font stack to use for displaying text.
setTextHaloBlur(double textHaloBlur) → Future<void>
The halo's fadeout distance towards the outside. Default value: 0. Minimum value: 0. The unit of textHaloBlur is in pixels.
setTextHaloColor(int textHaloColor) → Future<void>
The color of the text's halo, which helps it stand out from backgrounds. Default value: "rgba(0, 0, 0, 0)".
setTextHaloWidth(double textHaloWidth) → Future<void>
Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. Default value: 0. Minimum value: 0. The unit of textHaloWidth is in pixels.
setTextIgnorePlacement(bool textIgnorePlacement) → Future<void>
If true, other symbols can be visible even if they collide with the text. Default value: false.
setTextJustify(TextJustify textJustify) → Future<void>
Text justification options. Default value: "center".
setTextKeepUpright(bool textKeepUpright) → Future<void>
If true, the text may be flipped vertically to prevent it from being rendered upside-down. Default value: true.
setTextLetterSpacing(double textLetterSpacing) → Future<void>
Text tracking amount. Default value: 0. The unit of textLetterSpacing is in ems.
setTextLineHeight(double textLineHeight) → Future<void>
Text leading value for multi-line text. Default value: 1.2. The unit of textLineHeight is in ems.
setTextMaxAngle(double textMaxAngle) → Future<void>
Maximum angle change between adjacent characters. Default value: 45. The unit of textMaxAngle is in degrees.
setTextMaxWidth(double textMaxWidth) → Future<void>
The maximum line width for text wrapping. Default value: 10. Minimum value: 0. The unit of textMaxWidth is in ems.
setTextOcclusionOpacity(double textOcclusionOpacity) → Future<void>
The opacity at which the text will be drawn in case of being depth occluded. Absent value means full occlusion against terrain only. Default value: 0. Value range: 0, 1
setTextOffset(List<double?> textOffset) → Future<void>
Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position. Default value: 0,0. The unit of textOffset is in ems.
setTextOpacity(double textOpacity) → Future<void>
The opacity at which the text will be drawn. Default value: 1. Value range: 0, 1
setTextOptional(bool textOptional) → Future<void>
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.
setTextPadding(double textPadding) → Future<void>
Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0. The unit of textPadding is in pixels.
setTextPitchAlignment(TextPitchAlignment textPitchAlignment) → Future<void>
Orientation of text when map is pitched. Default value: "auto".
setTextRadialOffset(double textRadialOffset) → Future<void>
Radial offset of text, in the direction of the symbol's anchor. Useful in combination with text-variable-anchor, which defaults to using the two-dimensional text-offset if present. Default value: 0. The unit of textRadialOffset is in ems.
setTextRotate(double textRotate) → Future<void>
Rotates the text clockwise. Default value: 0. The unit of textRotate is in degrees.
setTextRotationAlignment(TextRotationAlignment textRotationAlignment) → Future<void>
In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text. Default value: "auto".
setTextSize(double textSize) → Future<void>
Font size. Default value: 16. Minimum value: 0. The unit of textSize is in pixels.
setTextSizeScaleRange(List<double?> textSizeScaleRange) → Future<void>
Limits the possible scaling range for text-size, text-halo-width, text-halo-blur properties to be within min-scale, max-scale Default value: 0.8,2. Minimum value: 0.1,0.1. Maximum value: 10,10.
setTextTransform(TextTransform textTransform) → Future<void>
Specifies how to capitalize text, similar to the CSS text-transform property. Default value: "none".
setTextTranslate(List<double?> textTranslate) → Future<void>
Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0. The unit of textTranslate is in pixels.
setTextTranslateAnchor(TextTranslateAnchor textTranslateAnchor) → Future<void>
Controls the frame of reference for text-translate. Default value: "map".
tapEvents({required dynamic onTap(PointAnnotation)}) → Cancelable
Registers tap event callbacks for the annotations managed by this manager.
toString() → String
A string representation of this object.
inherited
update(PointAnnotation annotation) → Future<void>
Update an added annotation with new properties.

Operators

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