TomTom Maps for JavaScript
    Preparing search index...

    Type Alias GeometryParams

    Union type for all geometry data parameter formats.

    Accepts either geometry IDs directly or places containing geometry IDs.

    Choose the right type:

    // Using IDs
    const idParams: GeometryParams = {
    key: 'your-api-key',
    geometries: ['g1234567890']
    };

    // Using places
    const placeParams: GeometryParams = {
    key: 'your-api-key',
    geometries: searchResults
    };