From: Anton Khorev Date: Sun, 26 Nov 2023 23:41:09 +0000 (+0300) Subject: Add transportation map key for opnvkarte X-Git-Tag: live~911^2~4 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/01b9f2b965eb1991c6b685915e23d58f92eb93d0 Add transportation map key for opnvkarte --- diff --git a/config/key.yml b/config/key.yml index 2d1cf97a0..ec3487b57 100644 --- a/config/key.yml +++ b/config/key.yml @@ -69,3 +69,12 @@ cyclemap: - { min_zoom: 14, max_zoom: 19, name: bicycle_shop, image: bicycle_shop.png } - { min_zoom: 14, max_zoom: 19, name: bicycle_parking, image: bicycle_parking.png } - { min_zoom: 16, max_zoom: 19, name: toilets, image: toilets.png } +opnvkarte: + - { min_zoom: 6, name: rail, width: 52, height: 4, fill: "#868686" } + - { min_zoom: 6, name: train, width: 52, height: 4, fill: "#ffc366" } + - { min_zoom: 10, name: light_rail, width: 52, height: 4, fill: "#66ff66" } + - { min_zoom: 10, name: tram_only, width: 52, height: 4, fill: "#3333fe" } + - { min_zoom: 10, name: subway, width: 52, height: 4, fill: "#33339f" } + - { min_zoom: 9, name: ferry, width: 52, height: 4, fill: "#9f339f" } + - { min_zoom: 10, name: trolleybus, width: 52, height: 4, fill: "#9f3333" } + - { min_zoom: 11, name: bus, width: 52, height: 4, fill: "#fe3333" } diff --git a/config/locales/en.yml b/config/locales/en.yml index 8b0745118..23d9175b6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2287,10 +2287,16 @@ en: cycleway_local: "Local cycleway" footway: "Footway" rail: "Railway" + train: "Train" subway: "Subway" + ferry: "Ferry" tram: - Light rail - tram + light_rail: "Light rail" + tram_only: "Tram" + trolleybus: "Trolleybus" + bus: "Bus" cable: - Cable car - chair lift