RouteOptions class

@ingroup navigine_dart_classes @ingroup navigine_dart_secondary_classes @brief Class is used for describing routing options of @see AsyncRouteManager "AsyncRouteManager".

Referenced from: @see AsyncRouteManager "AsyncRouteManager".

Dart code snippet: @snippet async_route_manager_example.dart dart_RouteOptions_constructor

Constructors

RouteOptions(double? smoothRadius, double? maxProjectionDistance, double? maxAdvance)
@brief Default constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAdvance double?
@brief This parameter controls the maximum distance (in meters) that a position can advance along the route between the two consecutive navigation solutions separated in time by 1 second. If this constraint is broken, the route will be completely rebuilt. The reasonable interval of values is 1, 3. Default value is 2.
getter/setter pair
maxProjectionDistance double?
@brief This parameter controls the router behaviour in case if the position essentially deviates from the proposed route. If the position deviates more than the specified distance (in meters), then the route will be rebuilt. You should not set the maxProjectionDistance value too low. The reasonable interval of values is 3, 10. Default value is 5.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smoothRadius double?
@brief This parameter controls if the resulting route should be smoothed for better user experience. It can be considered as the maximum distance (in meters) by which the smoothed route can deviate from the original route. The original route follows exactly the edges of the route graph. If you don't want the route to be smoothed, use value 0. Default value is 0.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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