[drape] Render trees under buildings

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-11-17 15:00:09 +01:00
committed by x7z4w
parent dd106df592
commit f3b105ee33
7 changed files with 42 additions and 8 deletions

View File

@@ -517,7 +517,10 @@ void ApplyPointFeature::ProcessPointRules(SymbolRuleProto const * symbolRule, Ca
{
PoiSymbolViewParams params;
FillCommonParams(params);
params.m_depthLayer = DepthLayer::OverlayLayer;
if (ftypes::IsUnderBuildingChecker::Instance()(m_f))
params.m_depthLayer = DepthLayer::OverlayUnderBuildingLayer;
else
params.m_depthLayer = DepthLayer::OverlayLayer;
params.m_depthTestEnabled = false;
params.m_depth = PriorityToDepth(symbolRule->priority(), drule::symbol, 0);
params.m_symbolName = symbolRule->name();