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

    Type Alias AreaAnalyticsFeatureProperties

    Properties attached to each region feature in an area analytics result.

    type AreaAnalyticsFeatureProperties = {
        anomalies?: Partial<
            Record<AreaAnalyticsMetricKey, AreaAnalyticsAnomaly[]>,
        >;
        baseData: AreaAnalyticsMetrics;
        level: number;
        name?: string;
        tiledData?: { tiles: AreaAnalyticsTileEntry[] };
        timedData: AreaAnalyticsTimedData;
        timezone?: string;
    }
    Index
    anomalies?: Partial<Record<AreaAnalyticsMetricKey, AreaAnalyticsAnomaly[]>>

    Detected anomalies keyed by metric. Empty for trafficAreaAnalytics: the service detects anomalies only over 35 days or more, beyond a request's 31-day limit.

    Overall aggregated traffic metrics for the full analysis period.

    level: number

    Hierarchical level of the region in the analysis.

    name?: string

    Name of the analysis region, which the API echoes from a request that names one; the SDK names none, so this is absent.

    tiledData?: { tiles: AreaAnalyticsTileEntry[] }

    Per-tile traffic metrics for the region, if heatmap data was requested.

    Traffic metrics broken down by time granularity.

    timezone?: string

    IANA timezone the API echoes from a request that names one; the SDK names none, so this is absent.