TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ReachableRangeBudget

    The time or distance limit for calculating how far you can travel from a starting point.

    Common use cases:

    • Service area visualization (30-min delivery zone)
    • Emergency response coverage (10-min response time)
    • Delivery zone planning
    • Store location analysis
    // 30-minute travel time
    const timeBudget: ReachableRangeBudget = {
    type: 'timeMinutes',
    value: 30
    };

    // 50 km distance
    const distanceBudget: ReachableRangeBudget = {
    type: 'distanceKM',
    value: 50
    };
    type ReachableRangeBudget = {
        type: BudgetType;
        value: number;
    }
    Index

    The type of budget, including units. See BudgetType.

    value: number

    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 type
    value: 15.5 // Decimal values supported