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 }}')