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 GeometryDataSource

    Data source reference for geometric shape data.

    // Use this ID with the Geometry Data service
    const dataSource: GeometryDataSource = {
    id: 'geom-abc123'
    };
    type GeometryDataSource = {
        id: string;
    }
    Index
    id: string

    The geometry ID for the Geometry Data service.

    Pass it to fetch the geometric boundary (polygon or multipolygon) of the place's shape on the map.