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 AnalysesEvents

    Events emitted by Analyses. One event for "an analysis result was attached or recomputed".

    type AnalysesEvents = {
        "analysis-change": {
            affectedEntryIds: readonly string[];
            analysisId: string;
        };
    }
    Index

    Properties

    Properties

    "analysis-change": { affectedEntryIds: readonly string[]; analysisId: string }

    An analysis result landed (one-shot attach or a recompute). Carries the analysisId and the ids of every entry it touches — a per-entry consumer filters with affectedEntryIds.includes(id).