DottedPolylineMapObject class abstract
@ingroup navigine_dart_classes @ingroup navigine_dart_location_view
@brief Represents a polyline object with points placed along it on the location view.
Referenced from @see LocationWindow "LocationWindow".
- Implemented types
- Implementers
Constructors
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.
inherited
-
getId(
) → int -
@brief Gets the unique identifier of the map object.
@return The unique identifier of the map object.
inherited
-
getType(
) → MapObjectType -
@brief Gets the type of the map object.
@return The type of the map object @see MapObjectType "MapObjectType".
inherited
-
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.
inherited
-
setCollisionEnabled(
bool enabled) → bool - @brief Method is used to enable or disable collision detection for the icon. @param enabled Specifies whether collision detection is enabled (true) or disabled (false). Default: false. @return true if the operation is successful, false otherwise.
-
setColor(
double red, double green, double blue, double alpha) → bool - @brief Method is used to specify the color of the object. @param red Red RGBA component. @param green Green RGBA component. @param blue Blue RGBA component. @param alpha Opacity multiplier. Values below 0 will be set to 0. Default: 1. @return true if success, false otherwise.
-
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.
inherited
-
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
pickMapObjectAtmethod (true) or not (false). Default: false. @return true if the operation is successful, false otherwise.inherited -
setPlacement(
Placement placement) → bool - @brief Method is used to specify the placement mode for points along the polyline. @param placement The placement mode @see Placement "Placement". Default: VERTEX. @return true if the operation is successful, false otherwise.
-
setPlacementMinRatio(
double ratio) → bool - @brief Method is used to specify the minimum ratio of the polyline length for point placement. @param ratio The minimum ratio of the polyline length (typically between 0 and 1). Default: 1.0. @return true if the operation is successful, false otherwise.
-
setPlacementSpacing(
double spacing) → bool - @brief Method is used to specify the spacing between points for spaced placement. @param spacing The spacing distance in pixels. Default: 80. @return true if the operation is successful, false otherwise.
-
setPolyLine(
LocationPolyline polyline) → bool - @brief Method is used to specify the source polyline for the points. @param polyline Metrics coordinates of the polyline @see LocationPolyline "LocationPolyline". @return true if the operation is successful, false otherwise.
-
setPriority(
double priority) → bool - @brief Method is used to specify the priority of the icon. @param priority The priority value for rendering or interaction. Default: max. @return true if the operation is successful, false otherwise.
-
setRepeatDistance(
double distance) → bool - @brief Method is used to specify the distance interval for repeating points along the polyline. @param distance The repeat distance in pixels. Default: 0. @return true if the operation is successful, false otherwise.
-
setRepeatGroup(
int group) → bool - @brief Method is used to specify the group identifier for repeating points. @param group The group identifier for point repetition. Default: 0. @return true if the operation is successful, false otherwise.
-
setSize(
double width, double height) → bool - @brief Method is used to specify the size of the points. @param width Width of the points in pixels. @param height Height of the points in pixels. @return true if the operation is successful, false otherwise.
-
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.
inherited
-
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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited