Class IndoorRouteOptions
All the options to specify how an indoor route should be calculated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionOptions to specify restrictions for indoor route calculations.Specifies the common route calculation options.doubleDeprecated.Will be removed in v4.28.0.The transport mode for route calculation.Defines the venue transport specification which contains the vehicle specifications for the transport mode chosen viatransportMode.Specifies the via waypoints that the route should pass through between the origin and destination. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an object and assign default values for route options. -
Method Summary
-
Field Details
-
routeOptions
Specifies the common route calculation options.
Note: Currently, only
RouteOptions.optimizationModeparameter is utilized for indoor route calculation. -
transportMode
The transport mode for route calculation.
Note: Mode of transport for the resulting indoor route will by default be
VenueTransportMode.PEDESTRIANin the current implementation. This option will affect only indoor route sections. -
venueTransportSpecification
Defines the venue transport specification which contains the vehicle specifications for the transport mode chosen via
transportMode. Notes:- By default all vehicle specifications from
venueTransportSpecificationare set tonull. - The transport mode is determined by
transportMode.
- By default all vehicle specifications from
-
indoorAvoidanceOptions
Options to specify restrictions for indoor route calculations. By default no restrictions are applied.
-
speedInMetersPerSecond
Deprecated.Will be removed in v4.28.0. Use
VenuePedestrianSpecification.walking_speed_in_meters_per_secondinstead.Specifies the speed that will be used by the service as the speed for
VenueTransportModein meters per second. It influences the duration of segments along the route. The default speed is 1 meter per second. -
viaWaypoints
Specifies the via waypoints that the route should pass through between the origin and destination. Via waypoints are processed in the exact order provided.
Notes:
- Maximum of 5 via waypoints are allowed.
- Via waypoints can be either stop waypoints (with
stop_duration) or passthrough waypoints (withpass_through = true). - Via waypoints with
stop_durationorpass_through = falsecreate section in the resulting route. - Via waypoints with
pass_through = trueappear in the section's passthrough array. - The order of via waypoints determines the routing path and must be preserved.
-
-
Constructor Details
-
IndoorRouteOptions
public IndoorRouteOptions()Creates an object and assign default values for route options.
-
-
Method Details