feat(train): OpenFreeMap's dark style in a dark theme, and MAP_DARK_STYLE_URL for a provider's
The maps follow the theme where the source names a dark style, which only the instance's own map did: OpenFreeMap, the default source, had none, so a dark phone showed Liberty's bright map. The default now hands OpenFreeMap's Dark style beside Liberty, and an operator setting MAP_STYLE_URL may set MAP_DARK_STYLE_URL (HTTPS, else none) beside it, passed on by compose.train.yaml and named in .env.example. ADR 0030, D65. Whats-New: The map is dark in a dark theme. Whats-New-De: Die Karte ist im dunklen Design dunkel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
615d66554b
commit
1c67310c93
1 changed files with 39 additions and 4 deletions
|
|
@ -69,9 +69,11 @@ COMPOSE_FILE=compose.learn.yaml
|
|||
# or subscriptions needs a paid plan: its key.
|
||||
#WEATHER=
|
||||
#OPEN_METEO_API_KEY=
|
||||
# Train's map (ADR 0030, D22): a MapLibre style over HTTPS, with its name, credit and
|
||||
# page; empty: OpenFreeMap's.
|
||||
# Train's map (ADR 0030, D22): a MapLibre style over HTTPS, with its dark one for a
|
||||
# dark theme (D65; empty: the light one in both), its name, credit and page; empty:
|
||||
# OpenFreeMap's, Liberty and Dark.
|
||||
#MAP_STYLE_URL=
|
||||
#MAP_DARK_STYLE_URL=
|
||||
#MAP_SOURCE_NAME=
|
||||
#MAP_ATTRIBUTION=
|
||||
#MAP_ABOUT_URL=
|
||||
|
|
|
|||
Loading…
Reference in a new issue