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

    Type Alias DisplayUnits

    The display units for time and distance.

    Formatting utilities and map information displays use them to label durations and distances.

    type DisplayUnits = {
        distance?: DistanceDisplayUnits;
        time?: TimeDisplayUnits;
    }
    Index

    How the SDK displays distances.

    How the SDK displays durations.