# unpack

function in `@dioramajs/data/map`

```ts
import { unpack } from '@dioramajs/data/map'
```

Decodes the land mask of @dioramajs/globe/land: 1 for land, `WIDTH` cells a row.

```ts
function unpack(text: string): Uint8Array
```

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `string` |  |

Defined in [packages/data/src/map.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/data/src/map.ts#L97).
