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

    Type Alias AggregatedCells<S, G>

    AggregatedCells: [G] extends [
        FeatureCollection<infer Geometry, infer Properties>,
    ]
        ? FeatureCollection<
            Geometry,
            NonNullable<Properties> & CellStatistics<S>,
        >
        : FeatureCollection<Polygon, CellStatistics<S>>

    What aggregateIntoCells returns: one polygon per cell holding points, with the statistics as its properties. Your own polygons keep their geometry, id and properties, the statistics added to them.

    Type Parameters