This is the documentation of version 1.0.0-rc.2. 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 (typically the tile centre coordinates stringified or the H3 cell index).

    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.