# useFeatureQuery

The query for the features inside a shape, or `undefined` when the host
supplies none. Selecting by shape needs it, so a host without one offers no
such action. Nothing is requested until a user action asks.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { useFeatureQuery } from "@mapcairn/map";
 
function useFeatureQuery(): FeatureQuery | undefined;
```

## Returns

`FeatureQuery | undefined`

## See also

- [`FeatureQuery`](https://docs.mapcairn.com/api/core/FeatureQuery.md)

Source: [packages/map/src/services/hooks.ts:228](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/services/hooks.ts#L228)
