Creates a new instance of RoundTripParameters.
Configuration options
OptionalrandomSeed?: numberIf set to 0, generate a random route; any other number, use it as the seed for deterministic randomness. Default is 0
Approximate desired size of the roundtrip; meaning is the same as for the route ranges feature.
OptionalrangeType?: RangeTypeThe 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. Default is RangeType.defaultType
If set to 0, generate a random route; any other number, use it as the seed for deterministic randomness.
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.
Get hash code for use in maps/sets
InternalSerializes this instance to a JSON-compatible map.
Used internally, not intended for direct use by consumers. The map structure may change without notice.
JSON-compatible map
StaticfromInternalDeserializes a JSON-compatible map to create an instance.
Used internally, not intended for direct use by consumers. The expected map structure may change without notice.
JSON-compatible map
A new RoundTripParameters instance
Round trip parameters