# MapShapes

Polygons and lines drawn on request, such as an event's affected area.

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

## Signature

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

## Properties

### colour

```ts
readonly colour: string;
```

A hex colour for the lines and a translucent fill.

### geometries

```ts
readonly geometries: readonly LayerGeometry[];
```

The polygons and lines to draw, in one look.

### lineWidth

```ts
readonly lineWidth?: number;
```

The width of lines and outlines, in CSS pixels. Defaults to 2.

## See also

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

Source: [packages/core/src/ports/map.ts:142](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/map.ts#L142)
