Home > @magiclane/maps-sdk > RoundTripParameters
RoundTripParameters class
Round trip parameters
Routing
Signature:
export declare class RoundTripParameters Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new instance of RoundTripParameters. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | If set to 0, generate a random route; any other number, use it as the seed for deterministic randomness. | ||
number | Approximate desired size of the roundtrip; meaning is the same as for the route ranges feature. | ||
The units in which the range is expressed. Default is dependent on the route type like for Ranges. Other options are distance in meters and time in seconds. |
Methods
Method | Modifiers | Description |
|---|---|---|
Check equality with another RoundTripParameters | ||
Get hash code for use in maps/sets |