From 68fbe6182be02c07c5d4a64c59190345de829613 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 27 Nov 2023 19:06:45 +0300 Subject: [PATCH] Update opnvkarte map key line widths up to 4px for different zooms --- config/key.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/config/key.yml b/config/key.yml index ec3487b57..80245f8e9 100644 --- a/config/key.yml +++ b/config/key.yml @@ -70,11 +70,20 @@ cyclemap: - { 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: 6, max_zoom: 7, name: rail, width: 52, height: 1, fill: "#868686" } + - { min_zoom: 8, max_zoom: 10, name: rail, width: 52, height: 2, fill: "#868686" } + - { min_zoom: 11, max_zoom: 14, name: rail, width: 52, height: 3, fill: "#868686" } + - { min_zoom: 15, name: rail, width: 52, height: 4, fill: "#868686" } + - { min_zoom: 6, max_zoom: 9, name: train, width: 52, height: 2, fill: "#ffc366" } + - { min_zoom: 10, max_zoom: 11, name: train, width: 52, height: 3, fill: "#ffc366" } + - { min_zoom: 12, 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: 9, max_zoom: 13, name: ferry, width: 52, height: 2, fill: "#9f339f" } + - { min_zoom: 14, name: ferry, width: 52, height: 3, fill: "#9f339f" } - { min_zoom: 10, name: trolleybus, width: 52, height: 4, fill: "#9f3333" } - - { min_zoom: 11, name: bus, width: 52, height: 4, fill: "#fe3333" } + - { min_zoom: 11, max_zoom: 11, name: bus, width: 52, height: 1, fill: "#fe3333" } + - { min_zoom: 12, max_zoom: 12, name: bus, width: 52, height: 2, fill: "#fe3333" } + - { min_zoom: 13, max_zoom: 13, name: bus, width: 52, height: 3, fill: "#fe3333" } + - { min_zoom: 14, name: bus, width: 52, height: 4, fill: "#fe3333" } -- 2.39.5