Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Show generators with no output
Russ Garrett4d6b01e85b28
diff --git a/web/src/style/style_oim_power.ts b/web/src/style/style_oim_power.tsindex ab17740..019ac5a 100644--- a/web/src/style/style_oim_power.ts+++ b/web/src/style/style_oim_power.ts@@ -976,11 +976,14 @@ export default function layers(): LayerSpecificationWithZIndex[] {minZoom: 11,source: 'power',sourceLayer: 'power_generator',- filter: all(match(get('source'), [[['wind', 'solar'], false]], true), has('output')),+ filter: all(match(get('source'), [[['wind', 'solar'], false]], true)),textField: name_output_label(11, 14),iconImage: 'power_generator',textMinZoom: 13,- iconScale: 1,+ iconScale: interpolate(coalesce(get('output'), 1), [+ [1, 0.4],+ [100, 1]+ ]),iconMinScale: 0.1}),{