mirror of
https://github.com/maputnik/editor.git
synced 2026-09-12 07:17:26 +00:00
9c1499b805
## Launch Checklist See title, Also removed some "_" from some file names. This is a pure refactoring, no logic changes. - [x] Briefly describe the changes in this PR. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import { type TFunction } from "i18next";
|
|
|
|
export const spec = (t: TFunction) => ({
|
|
maputnik: {
|
|
maptiler_access_token: {
|
|
label: t("MapTiler Access Token"),
|
|
doc: t("Public access token for MapTiler Cloud."),
|
|
docUrl: "https://docs.maptiler.com/cloud/api/authentication-key/",
|
|
docUrlLinkText: t("Learn More")
|
|
},
|
|
thunderforest_access_token: {
|
|
label: t("Thunderforest Access Token"),
|
|
doc: t("Public access token for Thunderforest services."),
|
|
docUrl: "https://www.thunderforest.com/docs/apikeys/",
|
|
docUrlLinkText: t("Learn More")
|
|
},
|
|
stadia_access_token: {
|
|
label: t("Stadia Maps API Key"),
|
|
doc: t("API key for Stadia Maps."),
|
|
docUrl: "https://docs.stadiamaps.com/authentication/",
|
|
docUrlLinkText: t("Learn More")
|
|
},
|
|
locationiq_access_token: {
|
|
label: t("LocationIQ Access Token"),
|
|
doc: t("Public access token for LocationIQ services."),
|
|
docUrl: "https://docs.locationiq.com/docs/maps",
|
|
docUrlLinkText: t("Learn More")
|
|
},
|
|
style_renderer: {
|
|
label: t("Style Renderer"),
|
|
doc: t("Choose the default Maputnik renderer for this style.")
|
|
},
|
|
}
|
|
});
|