Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Traverse expression tree when checking for property overrides #14259

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

alexshalamov
Copy link
Contributor

@alexshalamov alexshalamov commented Mar 28, 2019

Before this change, symbol layer was only checking whether top level 'text-field' layout property expression is FormatExpression and if it has paint property overrides. This change takes into account that 'text-field' might have nested expressions, thus, requires traversal over child expressions.

Fixes: #14254
Render test: mapbox/mapbox-gl-js#8093

Before this change, symbol layer was only checking whether top level
'text-field' layout property expression is FormatExpression and if it
has paint property overrides. This change takes into account that
'text-field' might have nested expressions, thus, requires traversal
over child expressions.

Fixes: #14254
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] Color is ignored in format expressions when part of a match expression.
4 participants