From 1dcf2fb9f4336fc9f85b1a6e79b66883c56abf07 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 8 Dec 2023 21:42:33 +0300 Subject: [PATCH] Add glacier images with borders --- app/assets/images/key/mapnik/glacier10.svg | 3 +++ app/assets/images/key/mapnik/glacier5.svg | 3 +++ config/key.yml | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 app/assets/images/key/mapnik/glacier10.svg create mode 100644 app/assets/images/key/mapnik/glacier5.svg diff --git a/app/assets/images/key/mapnik/glacier10.svg b/app/assets/images/key/mapnik/glacier10.svg new file mode 100644 index 000000000..be79f238a --- /dev/null +++ b/app/assets/images/key/mapnik/glacier10.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/assets/images/key/mapnik/glacier5.svg b/app/assets/images/key/mapnik/glacier5.svg new file mode 100644 index 000000000..8e6d368eb --- /dev/null +++ b/app/assets/images/key/mapnik/glacier5.svg @@ -0,0 +1,3 @@ + + + diff --git a/config/key.yml b/config/key.yml index f9ce0a3ee..4317b89be 100644 --- a/config/key.yml +++ b/config/key.yml @@ -19,7 +19,8 @@ mapnik: - { name: admin, width: 52, height: 2, fill: "#8d618b88" } # landcover: landcover.mss, water.mss - { name: lake, width: 26, height: 10, fill: "#aad3df" } - - { name: glacier, width: 26, height: 10, fill: "#ddecec" } + - { min_zoom: 5, max_zoom: 9, name: glacier, image: glacier5.svg } + - { min_zoom: 10, name: glacier, image: glacier10.svg } - { min_zoom: 5, max_zoom: 11, name: forest, width: 26, height: 10, fill: "#bddab1" } - { min_zoom: 12, name: forest, width: 26, height: 10, fill: "#add19e" } - { min_zoom: 5, max_zoom: 11, name: orchard, width: 26, height: 10, fill: "#bee5b5" } -- 2.39.5