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

    Type Alias EntryAnalysis

    A single analysis result — the result of an analyseData run (one-shot or a monitorAnalysis standing replay). data is whatever the dynamic code returned. Identical across every entry kind.

    type EntryAnalysis = {
        data: unknown;
        description?: string;
        name: string;
        outputFormat: AnalysisOutputFormat;
        timestamp: number;
    }
    Index

    Properties

    data: unknown

    Arbitrary aggregation result returned by the dynamic code.

    description?: string

    Optional human-readable description of what the analysis computed.

    name: string

    Unique name within the parent entry — used as the key (re-attaching the same name replaces).

    outputFormat: AnalysisOutputFormat

    How data should be interpreted — plain JSON or a Chart.js configuration.

    timestamp: number