CircleMapObject$Impl class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getData()
→ Uint8List
-
@brief Gets the user-defined data associated with the map object.
@return The data stored in the map object.
override
-
getId()
→ int
-
@brief Gets the unique identifier of the map object.
@return The unique identifier of the map object.
override
-
getType()
→ MapObjectType
-
@brief Gets the type of the map object.
@return The type of the map object @see MapObjectType "MapObjectType".
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAlpha(double alpha)
→ bool
-
@brief Method is used to set the opacity of the map object.
@param alpha Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setBuffer(double width, double height)
→ bool
-
@brief Method is used to specify the buffer size around the circle for collision detection.
@param width Width of the buffer in pixels. Default: 0.
@param height Height of the buffer in pixels. Default: 0.
@return true if the operation is successful, false otherwise.
override
-
setCollisionEnabled(bool enabled)
→ bool
-
@brief Method is used to enable or disable collision detection for the circle.
@param enabled Specifies whether collision detection is enabled (true) or disabled (false). Default: false.
@return true if the operation is successful, false otherwise.
override
-
setColor(double red, double green, double blue, double alpha)
→ bool
-
@brief Method is used to specify the fill color of the circle.
@param red Red RGBA component (0 to 1).
@param green Green RGBA component (0 to 1).
@param blue Blue RGBA component (0 to 1).
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setData(Uint8List data)
→ void
-
@brief Method is used to set user-defined data for the map object.
@param data Data to store in the map object.
override
-
setInteractive(bool interactive)
→ bool
-
@brief Method is used to specify whether the map object can be interacted with.
@param interactive Specifies whether the object can be picked in the
pickMapObjectAt method (true) or not (false). Default: false.
@return true if the operation is successful, false otherwise.
override
-
setOffset(double width, double height)
→ bool
-
@brief Method is used to specify an offset for the circle’s position.
@param width Horizontal offset in pixels.
@param height Vertical offset in pixels.
@return true if the operation is successful, false otherwise.
override
-
setOutlineAlpha(double alpha)
→ bool
-
@brief Method is used to specify the opacity of the circle’s outline.
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setOutlineColor(double red, double green, double blue, double alpha)
→ bool
-
@brief Method is used to specify the color of the circle’s outline.
@param red Red RGBA component (0 to 1).
@param green Green RGBA component (0 to 1).
@param blue Blue RGBA component (0 to 1).
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setOutlineRadius(double radius)
→ bool
-
@brief Method is used to specify the thickness of the circle’s outline.
@param radius Thickness of the outline in pixels.
@return true if the operation is successful, false otherwise.
override
-
setPosition(LocationPoint point)
→ bool
-
@brief Method is used to specify the center of the circle.
@param point Metrics coordinates of the center @see LocationPoint "LocationPoint".
@return true if the operation is successful, false otherwise.
override
-
setPositionAnimated(LocationPoint point, double duration, AnimationType type)
→ bool
-
@brief Method is used to move the center of the circle with the specified animation.
@param point Metrics coordinates of the center @see LocationPoint "LocationPoint".
@param duration Animation duration in seconds.
@param type Animation type @see AnimationType "AnimationType". Default: CENTER.
@return true if the operation is successful, false otherwise.
override
-
setPriority(double priority)
→ bool
-
@brief Method is used to specify the priority of the circle.
@param priority The priority value for rendering or interaction. Default: 0.
@return true if the operation is successful, false otherwise.
override
-
setRadius(double radius)
→ bool
-
@brief Method is used to specify the size of the circle.
@param radius Radius of the circle in meters.
@return true if the operation is successful, false otherwise.
override
-
setTitle(String title)
→ bool
-
@brief Method is used to set the title of the map object.
@param title The title to display on the location view.
@return true if the operation is successful, false otherwise.
override
-
setVisible(bool visible)
→ bool
-
@brief Method is used to specify the visibility of the map object.
@param visible Specifies whether the object is visible (true) or hidden (false). Default: true.
@return true if the operation is successful, false otherwise.
override
-
toString()
→ String
-
A string representation of this object.
inherited