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 CellValueOptions<P, S>

    CellValueOptions:
        | { stats?: readonly (S & "count")[]; value?: undefined }
        | { stats: readonly S[]; value: CellValue<P> }

    The value half of AggregateIntoCellsOptions: the statistics to compute, and the value they read. Without a value, the cells only count their points.

    Type Parameters

    Type Declaration

    • { stats?: readonly (S & "count")[]; value?: undefined }
    • { stats: readonly S[]; value: CellValue<P> }
      • stats: readonly S[]

        The statistics each cell gets, as properties of the same names.

      • value: CellValue<P>