# MapStyledShapes

Polygons or lines drawn with a per-shape look, such as a choropleth. A
layer draws one kind of geometry; the other kind is ignored. Shapes can be
tapped like points.

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

## Signature

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

## Properties

### geometry

```ts
readonly geometry: "area" | "line";
```

Whether the layer draws polygons (`area`) or lines (`line`).

### labelMinZoom

```ts
readonly labelMinZoom?: number;
```

Labels appear from this normalised zoom.

### shapes

```ts
readonly shapes: readonly MapStyledShape[];
```

The shapes, each with its own look.

## See also

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

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