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 AreaAnalyticsDisplayProperties

    AreaAnalyticsDisplayProperties: AreaAnalyticsMetrics & SupportsEvents & {
        id: string;
    }

    Properties attached to each area analytics display feature.

    Type Declaration

    • id: string

      Stable feature identifier: tile-<tile index>-<longitude>-<latitude> for a heatmap point, hex-<region index>-<cell index> or square-<region index>-<cell index> for a cell.

    They include all optional metric fields from the API response, a stable id that MapLibre's promoteId uses for event state tracking, and eventState (from SupportsEvents), which drives hover/click styling.