From bab74ef7e7c130384e6bf8241769f38e5aea5728 Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Fri, 3 Apr 2026 16:00:29 +0300 Subject: [PATCH] fix: hide all line layers except boundaries (removes grid lines) Co-Authored-By: Claude Opus 4.6 (1M context) --- layouts/shortcodes/world-map.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html index 6bca7c2..3f0c946 100644 --- a/layouts/shortcodes/world-map.html +++ b/layouts/shortcodes/world-map.html @@ -77,6 +77,9 @@ function ifkInitMap() { if (l.type === 'fill' && (l.id.indexOf('landcover') >= 0 || l.id.indexOf('landuse') >= 0 || l.id.indexOf('park') >= 0)) { window._ifkMap.setPaintProperty(l.id, 'fill-opacity', 0); } + if (l.type === 'line' && (l.id.indexOf('boundary') < 0)) { + window._ifkMap.setLayoutProperty(l.id, 'visibility', 'none'); + } }); fetch('{{ "data/countries-50m.json" | relURL }}')