# RoutingCredit

A credit a routing service asks for while a route or travel-time area it
found is shown, such as its data source, its own name or a link its usage
terms require.

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

## Signature

```ts
import type { RoutingCredit } from "@mapcairn/sdk/browser";
 
interface RoutingCredit
```

## Properties

### text

```ts
readonly text: DefinitionText;
```

The words of the credit: a message key or a host text, read in the active
language, or a plain string shown as written. The same words as a basemap's
or a layer's credit are listed once.

### url

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

A link to the provider, its data or its terms: an `http` or `https`
address, `https` where the provider has one. With any other address the
words are shown with no link.

## See also

- [`DefinitionText`](https://docs.mapcairn.com/api/sdk/browser/DefinitionText.md)
