# GetRenderedFeaturesConstraint

***

Constraints for the [\`getRenderedFeatures\`](https://developers.felt.com/js-sdk-api-reference/layerscontroller#getrenderedfeatures) method. This can include layer constriants, spatial constraints, or both. If no constraints are\
provided, all rendered features will be returned.

## Properties

### areaQuery?

> `optional` **areaQuery**: { `coordinates`: [`LatLng`](https://developers.felt.com/js-sdk-api-reference/shared/latlng); } | { `boundary`: \[`number`, `number`, `number`, `number`]; }

The area to query for rendered features. This can be specific coordinates or a [FeltBoundary](https://developers.felt.com/js-sdk-api-reference/shared/feltboundary). If omitted, the entire viewport will be queried.

***

### layerIds?

> `optional` **layerIds**: `string`\[]

The ids of the layers to get rendered features for.
