diff --git a/app/src/main/java/de/westnordost/streetcomplete/overlays/surface/SurfaceOverlay.kt b/app/src/main/java/de/westnordost/streetcomplete/overlays/surface/SurfaceOverlay.kt index 78566b8b15..e7c466696f 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/overlays/surface/SurfaceOverlay.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/overlays/surface/SurfaceOverlay.kt @@ -60,9 +60,7 @@ private fun getStyle(element: Element): Style { } } } else { - val mainColor = createSurfaceAndNote(element.tags).getColor(element) - // unspecified surface on motorways is okay (assumption is that all motorways are asphalted) - if (mainColor == Color.DATA_REQUESTED && isMotorway(element.tags)) Color.INVISIBLE else mainColor + createSurfaceAndNote(element.tags).getColor(element) } return if (isArea) PolygonStyle(color) else PolylineStyle(StrokeStyle(color)) }