fix: hide all line layers except boundaries (removes grid lines)
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 9s
Deploy Internet for Kids / Deploy (push) Successful in 5s
Deploy Internet for Kids / Health Check (push) Successful in 1s
Deploy Internet for Kids / Smoke Tests (push) Successful in 2s
Deploy Internet for Kids / IndexNow Ping (push) Successful in 7s
Deploy Internet for Kids / Promote to Latest (push) Successful in 2s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-03 16:00:29 +03:00
parent 57320ccb51
commit bab74ef7e7

View File

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