mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Hide indoor areas and building part areas when those features types are disabled (re: #6352)
This commit is contained in:
@@ -139,6 +139,8 @@ export function rendererFeatures(context) {
|
||||
defineRule('landuse', function isLanduse(tags, geometry) {
|
||||
return geometry === 'area' &&
|
||||
!_rules.buildings.filter(tags) &&
|
||||
!_rules.building_parts.filter(tags) &&
|
||||
!_rules.indoor.filter(tags) &&
|
||||
!_rules.water.filter(tags);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user