DottedPolylineMapObject$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
-
Gets the user-defined data associated with the map object.
Returns The data stored in the map object.
override
-
getId()
→ int
-
Gets the unique identifier of the map object.
Returns The unique identifier of the map object.
override
-
getType()
→ MapObjectType
-
Gets the type of the map object.
Returns The type of the map object MapObjectType.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAlpha(double alpha)
→ bool
-
Method is used to set the opacity of the map object.
alpha Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1.
Returns true if the operation is successful, false otherwise.
override
-
setCollisionEnabled(bool enabled)
→ bool
-
Method is used to enable or disable collision detection for the icon.
enabled Specifies whether collision detection is enabled (true) or disabled (false). Default: false.
Returns true if the operation is successful, false otherwise.
override
-
setColor(double red, double green, double blue, double alpha)
→ bool
-
Method is used to specify the color of the object.
red Red RGBA component.
green Green RGBA component.
blue Blue RGBA component.
alpha Opacity multiplier. Values below 0 will be set to 0. Default: 1.
Returns true if success, false otherwise.
override
-
setData(Uint8List data)
→ void
-
Method is used to set user-defined data for the map object.
data Data to store in the map object.
override
-
setInteractive(bool interactive)
→ bool
-
Method is used to specify whether the map object can be interacted with.
interactive Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false.
Returns true if the operation is successful, false otherwise.
override
-
setPlacement(Placement placement)
→ bool
-
Method is used to specify the placement mode for points along the polyline.
placement The placement mode Placement. Default: VERTEX.
Returns true if the operation is successful, false otherwise.
override
-
setPlacementMinRatio(double ratio)
→ bool
-
Method is used to specify the minimum ratio of the polyline length for point placement.
ratio The minimum ratio of the polyline length (typically between 0 and 1). Default: 1.0.
Returns true if the operation is successful, false otherwise.
override
-
setPlacementSpacing(double spacing)
→ bool
-
Method is used to specify the spacing between points for spaced placement.
spacing The spacing distance in pixels. Default: 80.
Returns true if the operation is successful, false otherwise.
override
-
setPolyLine(LocationPolyline polyline)
→ bool
-
Method is used to specify the source polyline for the points.
polyline Metrics coordinates of the polyline LocationPolyline.
Returns true if the operation is successful, false otherwise.
override
-
setPriority(double priority)
→ bool
-
Method is used to specify the priority of the icon.
priority The priority value for rendering or interaction. Default: max.
Returns true if the operation is successful, false otherwise.
override
-
setRepeatDistance(double distance)
→ bool
-
Method is used to specify the distance interval for repeating points along the polyline.
distance The repeat distance in pixels. Default: 0.
Returns true if the operation is successful, false otherwise.
override
-
setRepeatGroup(int group)
→ bool
-
Method is used to specify the group identifier for repeating points.
group The group identifier for point repetition. Default: 0.
Returns true if the operation is successful, false otherwise.
override
-
setSize(double width, double height)
→ bool
-
Method is used to specify the size of the points.
width Width of the points in pixels.
height Height of the points in pixels.
Returns true if the operation is successful, false otherwise.
override
-
setTitle(String title)
→ bool
-
Method is used to set the title of the map object.
title The title to display on the location view.
Returns true if the operation is successful, false otherwise.
override
-
setVisible(bool visible)
→ bool
-
Method is used to specify the visibility of the map object.
visible Specifies whether the object is visible (true) or hidden (false). Default: true.
Returns true if the operation is successful, false otherwise.
override
-
toString()
→ String
-
A string representation of this object.
inherited