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/core, checked against version 0.2.0.
Signature
import type { RoutingCredit } from "@mapcairn/core";
interface RoutingCredit
Properties
text
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
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.