• java.lang.Object
    • com.here.sdk.routing.PedestrianOptions

  • public final class PedestrianOptions
    extends java.lang.Object

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

    • Field Detail

      • routeOptions

        @NonNull
        public RouteOptions routeOptions

        Specifies the common route calculation options.

      • textOptions

        @NonNull
        public RouteTextOptions textOptions

        Customize textual content returned from the route calculation, such as localization, format, and unit system.

      • avoidanceOptions

        @NonNull
        public AvoidanceOptions avoidanceOptions

        Options to specify restrictions for route calculations. By default no restrictions are applied.

      • walkSpeedInMetersPerSecond

        public double walkSpeedInMetersPerSecond

        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.

    • Constructor Detail

      • PedestrianOptions

        public PedestrianOptions()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • fromDefaultParameterConfiguration

        @NonNull
        public static PedestrianOptions fromDefaultParameterConfiguration()

        Returns PedestrianOptions instance with default values used in SDK.

        Returns:

        A PedestrianOptions instance with default values used in SDK.