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

    Type Alias DisplayUnits

    The display units for time and distance.

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

    How the SDK displays distances.

    How the SDK displays durations.