# DrawnLayer

A data layer as an engine draws it, lowest first, for tests and the map
adapter contract to compare adapters by.

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

## Signature

```ts
import type { DrawnLayer } from "@mapcairn/core";
 
type DrawnLayer = {
    readonly id: string;
    readonly kind: "features" | "shapes";
    readonly count: number;
} | {
    readonly id: string;
    readonly kind: "tiles";
    readonly tiles: string;
    readonly opacity: number;
} | {
    readonly id: string;
    readonly kind: "styled";
    readonly geometry: "area" | "line";
    readonly count: number;
} | {
    readonly id: string;
    readonly kind: "vector";
    readonly tiles: string;
    readonly sourceLayers: readonly string[];
} | {
    readonly id: string;
    readonly kind: "heatmap";
    readonly source: "points" | "vector";
    readonly count: number;
};
```

Source: [packages/core/src/fakes/FakeMapAdapter.ts:111](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/fakes/FakeMapAdapter.ts#L111)
