Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Fix converter station opacity

Russ Garretteb5181172e18
diff --git a/web/src/style/style_oim_power.ts b/web/src/style/style_oim_power.ts
index 5125109..ef35cc1 100644
--- a/web/src/style/style_oim_power.ts
+++ b/web/src/style/style_oim_power.ts
@@ -1075,7 +1075,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
paint: {
...text_paint,
'text-opacity': ['step', zoom, 0, 7, 1],
- 'icon-opacity': power_opacity
+ 'icon-opacity': if_(construction_p, 0.5, 1)
}
},
{