# QueryArea

The area a feature query searches: a GeoJSON `Polygon`, an outer ring and
then any holes, each ring closed, as `[longitude, latitude]` positions. It
uses plain arrays, so the `Polygon` that `shapeGeometry` gives for a drawn
polygon or circle passes straight in.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { QueryArea } from "@mapcairn/core";
 
interface QueryArea
```

## Properties

### coordinates

```ts
readonly coordinates: number[][][];
```

The rings, outer ring first, then any holes, as closed lists of `[longitude, latitude]` positions.

### type

```ts
readonly type: "Polygon";
```

Always `Polygon`.

Source: [packages/core/src/ports/featureQuery.ts:11](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/featureQuery.ts#L11)
