diff --git a/workbench/client/src/map/layers.ts b/workbench/client/src/map/layers.ts index fd75830..ce977b6 100644 --- a/workbench/client/src/map/layers.ts +++ b/workbench/client/src/map/layers.ts @@ -42,7 +42,12 @@ export function createLayers( const layers: Record> = { native: new VectorLayer({ source: source(), - style: () => (scene() ? new Style({ fill: new Fill({ color: '#3f4b50' }) }) : simple('#296956')), + style: (feature) => { + if (feature.get('pavement_input')) return undefined; + if (feature.get('kind') === 'complex-pavement-region') + return scene() ? new Style({ fill: new Fill({ color: '#3f4b50' }) }) : simple('#296956'); + return scene() ? new Style({ fill: new Fill({ color: '#3f4b50' }) }) : simple('#296956'); + }, }), sidewalks: new VectorLayer({ source: source(),