Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Use land colour as background
Russ Garrett410726d580ca
diff --git a/web/src/style/style_base.ts b/web/src/style/style_base.tsindex a42f0b6..d7e5bd2 100644--- a/web/src/style/style_base.ts+++ b/web/src/style/style_base.ts@@ -15,7 +15,6 @@ function landcover_colour(hue: any, sat: any, initial_lum = '85%') {}const colours: Record<string, any> = {- background: 'rgb(242,243,240)',land: landcover_colour(42, '10%'),ice: landcover_colour(180, '10%'),urban: landcover_colour(245, '9%', '82%'),@@ -48,17 +47,9 @@ const layers: LayerSpecificationWithZIndex[] = [id: 'background',type: 'background',paint: {- 'background-color': colours['background']+ 'background-color': colours['land']}},- {- id: 'earth',- type: 'fill',- source: 'basemap',- 'source-layer': 'earth',- filter: ['==', '$type', 'Polygon'],- paint: { 'fill-color': colours['land'] }- },{id: 'landuse_ice',type: 'fill',