Use this when you have place objects (from search results) and want to fetch their boundaries. The function will automatically extract geometry IDs from the places.
// From search results
const searchResults = await search({ query: 'Amsterdam' });
const params: GeometryPlaceParams = {
key: 'your-api-key',
geometries: searchResults,
zoom: 10
};
// From individual places
const params: GeometryPlaceParams = {
key: 'your-api-key',
geometries: [place1, place2],
zoom: 12
};
Parameters for fetching geometry data from places.