diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-30 16:01:59 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-31 13:26:27 -0700 |
commit | c4f9582bfa9be832eb2eb349249918db8b867ec9 (patch) | |
tree | 18116f417ab24e420664ff26256c5e0a9db2d095 /src/mbgl/layout/symbol_layout.cpp | |
parent | d7a55a4be1300d79da0c63aefdf5d48d0c45a404 (diff) | |
download | qtlocation-mapboxgl-c4f9582bfa9be832eb2eb349249918db8b867ec9.tar.gz |
[core] Pass fully-evaluated layout properties to SymbolInstance and quad methods
Diffstat (limited to 'src/mbgl/layout/symbol_layout.cpp')
-rw-r--r-- | src/mbgl/layout/symbol_layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/symbol_layout.cpp b/src/mbgl/layout/symbol_layout.cpp index 8e36bb84ea..7b77bdaf6f 100644 --- a/src/mbgl/layout/symbol_layout.cpp +++ b/src/mbgl/layout/symbol_layout.cpp @@ -347,7 +347,7 @@ void SymbolLayout::addFeature(const std::size_t index, const bool addToBuffers = mode == MapMode::Still || withinPlus0; - symbolInstances.emplace_back(anchor, line, shapedTextOrientations, shapedIcon, layout, addToBuffers, symbolInstances.size(), + symbolInstances.emplace_back(anchor, line, shapedTextOrientations, shapedIcon, layout.evaluate(zoom, feature), addToBuffers, symbolInstances.size(), textBoxScale, textPadding, textPlacement, iconBoxScale, iconPadding, iconPlacement, face, indexedFeature, index); |