# DrawShapeInput

A shape as it is given to `load`: everything but the generated fields.

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

## Signature

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

## Properties

### kind

```ts
readonly kind: DrawKind;
```

Whether the shape is a point, line, polygon or circle.

### radiusMetres

```ts
readonly radiusMetres?: number;
```

A circle's radius in metres. Ignored for other kinds.

### vertices

```ts
readonly vertices: readonly LatLng[];
```

The shape's positions, in order.

## See also

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

Source: [packages/core/src/draw/reducer.ts:62](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/reducer.ts#L62)
