PedestrianOptions class

All the options to specify how a pedestrian route should be calculated.

Annotations
  • @Deprecated("Will be removed in v4.28.0. Use `RoutingOptions` class instead.")

Constructors

PedestrianOptions()

Properties

avoidanceOptions AvoidanceOptions
Options to specify restrictions for route calculations. By default no restrictions are applied.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
routeOptions RouteOptions
Specifies the common route calculation options.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textOptions RouteTextOptions
Customize textual content returned from the route calculation, such as localization, format, and unit system.
getter/setter pair
walkSpeedInMetersPerSecond ↔ double
Specifies the speed that will be used by the service as the walking speed for pedestrian routing in meters per second. It influences the duration of walking segments along the route. The provided value must be in the range [0.5, 2.0]. When the value is outside this range, an invalid parameter error is raised. Refer to RoutingError for details. The default speed is 1 meter per second.
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.

Static Methods

fromDefaultParameterConfiguration() PedestrianOptions
Returns PedestrianOptions instance with default values used in SDK.