# AreaGeometry

The outline of an area, as GeoJSON writes a `Polygon` (a ring, then any
holes) or a `MultiPolygon`. It uses plain arrays, so it passes straight to
code typed with the GeoJSON types, and the geometry helpers in core accept it.

This is a type alias exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { AreaGeometry } from "@mapcairn/core";
 
type AreaGeometry = {
    readonly type: "Polygon";
    readonly coordinates: number[][][];
} | {
    readonly type: "MultiPolygon";
    readonly coordinates: number[][][][];
};
```

Source: [packages/core/src/ports/routing.ts:60](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/routing.ts#L60)
