# LayerAttribution

A credit line a provider asks for.

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

## Signature

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

## Properties

### text

```ts
readonly text: string;
```

The credit. `{year}` stands for the current year, for a provider whose
notice asks for it, so the credit is never out of date.

### url

```ts
readonly url?: string;
```

An `https` link to the provider or its terms.

Source: [packages/core/src/layers/definition.ts:24](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L24)
