PedestrianOptions (API Reference)
Class PedestrianOptions
All the options to specify how a pedestrian route should be calculated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Options to specify restrictions for route calculations.Deprecated.Specifies the common route calculation options.Deprecated.Customize textual content returned from the route calculation, such as localization, format, and unit system.doubleDeprecated.Specifies the speed that will be used by the service as the walking speed for pedestrian routing in meters per second. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static PedestrianOptionsDeprecated.Returns PedestrianOptions instance with default values used in SDK.inthashCode()Deprecated.
-
Field Details
-
routeOptions
Deprecated.Specifies the common route calculation options.
-
textOptions
Deprecated.Customize textual content returned from the route calculation, such as localization, format, and unit system.
-
avoidanceOptions
Deprecated.Options to specify restrictions for route calculations. By default no restrictions are applied.
-
walkSpeedInMetersPerSecond
public double walkSpeedInMetersPerSecondDeprecated.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
RoutingErrorfor details. The default speed is 1 meter per second.
-
-
Constructor Details
-
PedestrianOptions
public PedestrianOptions()Deprecated.Creates a new instance.
-
-
Method Details
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
fromDefaultParameterConfiguration
Deprecated.Returns PedestrianOptions instance with default values used in SDK.
- Returns:
A
PedestrianOptionsinstance with default values used in SDK.
-
Will be removed in v4.28.0. Use
RoutingOptionsclass instead.