Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Render cables as underground by default
Russ Garrett0d6927d29018
diff --git a/src/style_oim_common.js b/src/style_oim_common.jsindex 3d1e005..c0b5c7b 100644--- a/src/style_oim_common.js+++ b/src/style_oim_common.js@@ -15,7 +15,11 @@ const operator_text = ["step", ["zoom"],const underground_p = ["any",['==', ['get', 'location'], 'underground'],['==', ['get', 'location'], 'underwater'],- ['==', ['get', 'tunnel'], true]+ ['==', ['get', 'tunnel'], true],+ ['all', // Power cables are underground by default+ ['==', ['get', 'type'], 'cable'],+ ['==', ['get', 'location'], '']+ ]];export {text_paint, operator_text, underground_p};