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 CellGridOptions<G>

    CellGridOptions: [G] extends [CellGridShape]
        ? LatticeGridOptions<G>
        : [G] extends [FeatureCollection<Polygon | MultiPolygon>]
            ? { grid: G }
            :
                | LatticeGridOptions<Extract<G, CellGridShape>>
                | { grid: Exclude<G, CellGridShape> }

    The grid half of AggregateIntoCellsOptions: a grid of hexagons or squares, or your own polygons. A grid that may be either needs narrowing first, as only a grid of hexagons or squares takes a cellSizeKM.

    Type Parameters