Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Tunnel styles

Russ Garrett73a0bb3873fb
diff --git a/src/style/style_oim_power.js b/src/style/style_oim_power.js
index bea6f79..4b12317 100644
--- a/src/style/style_oim_power.js
+++ b/src/style/style_oim_power.js
@@ -362,7 +362,7 @@ const layers = [
filter: ['==', ['get', 'tunnel'], true],
minzoom: 12,
paint: {
- 'line-opacity': 0.6,
+ 'line-opacity': ['case', construction_p, 0.1, 0.3],
'line-color': '#7C4544',
'line-width': 8,
},