Constraints for the `getRenderedFeatures` method. This can include layer constriants, spatial constraints, or both. If no constraints are provided, all rendered features will be returned.
optional areaQuery: { coordinates: LatLng; } | { boundary: [number, number, number, number]; }
optional
coordinates
LatLng
boundary
number
The area to query for rendered features. This can be specific coordinates or a FeltBoundary. If omitted, the entire viewport will be queried.
optional layerIds: string[]
string
The ids of the layers to get rendered features for.
Last updated 10 months ago
Was this helpful?