The time or distance limit for calculating how far you can travel from a starting point.
Common use cases:
// 30-minute travel timeconst timeBudget: ReachableRangeBudget = { type: 'timeMinutes', value: 30};// 50 km distanceconst distanceBudget: ReachableRangeBudget = { type: 'distanceKM', value: 50}; Copy
// 30-minute travel timeconst timeBudget: ReachableRangeBudget = { type: 'timeMinutes', value: 30};// 50 km distanceconst distanceBudget: ReachableRangeBudget = { type: 'distanceKM', value: 50};
The type of budget, including units. See BudgetType.
The budget value, in the units of its type.
Typical values are 5-60 minutes for time and 5-100 km for distance.
value: 30 // 30 minutes or km depending on typevalue: 15.5 // Decimal values supported Copy
value: 30 // 30 minutes or km depending on typevalue: 15.5 // Decimal values supported
The time or distance limit for calculating how far you can travel from a starting point.
Remarks
Common use cases:
Example