This is the documentation of version 1.0.0-rc.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias BudgetType

    BudgetType: typeof budgetTypes[number]

    The type of budget that limits a reachable range calculation.

    • timeMinutes: Travel time in minutes (isochrone), as in "Where can I reach in 30 minutes?"
    • distanceKM: Travel distance in kilometers (isodistance), as in "What's within 10 km?"
    const timeType: BudgetType = 'timeMinutes';
    const distanceType: BudgetType = 'distanceKM';