As reported by @TDYCarHugh, the following features will not depict vertical clearance values unless either the featureName attribute or a horizontal clearance attribute is present:
[x] Gate
[x] SpanFixed
[x] SpanOpening
[x] StructureOverNavigableWater
[x] Tunnel
Relevant code:
local featureName = GetFeatureName(feature, contextParameters)
if featureName or HasHorizontalClearance(feature) then
featurePortrayal:AddInstructions('LocalOffset:0,0;TextAlignHorizontal:Center;TextAlignVertical:Center;FontColor:CHBLK')
if featureName then
featurePortrayal:AddTextInstruction(EncodeString(featureName), 26, 24, viewingGroup, 9)
PortrayClearances(feature, featurePortrayal, contextParameters, viewingGroup, 0, -3.51)
else
PortrayClearances(feature, featurePortrayal, contextParameters, viewingGroup, 0, 0)
end
end
As reported by @TDYCarHugh, the following features will not depict vertical clearance values unless either the
featureName
attribute or a horizontal clearance attribute is present:Gate
SpanFixed
SpanOpening
StructureOverNavigableWater
Tunnel
Relevant code: