diff --git a/resources/process-openmaptiles.lua b/resources/process-openmaptiles.lua index d6d82ea7..74892add 100644 --- a/resources/process-openmaptiles.lua +++ b/resources/process-openmaptiles.lua @@ -742,7 +742,7 @@ function way_function() Layer("landuse", true) Attribute("class", l) if l=="residential" then - if Area()ZRES0^2 then MinZoom(1) elseif minzoom <= 2 and area>ZRES1^2 then MinZoom(2) elseif minzoom <= 3 and area>ZRES2^2 then MinZoom(3)