Union type for all geometry data parameter formats.
Accepts either geometry IDs directly or places containing geometry IDs.
Choose the right type:
// Using IDsconst idParams: GeometryParams = { key: 'your-api-key', geometries: ['g1234567890']};// Using placesconst placeParams: GeometryParams = { key: 'your-api-key', geometries: searchResults}; Copy
// Using IDsconst idParams: GeometryParams = { key: 'your-api-key', geometries: ['g1234567890']};// Using placesconst placeParams: GeometryParams = { key: 'your-api-key', geometries: searchResults};
Union type for all geometry data parameter formats.
Accepts either geometry IDs directly or places containing geometry IDs.