diff options
author | Dane Springmeyer <dane@mapbox.com> | 2019-10-30 19:14:39 -0700 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2019-10-30 19:14:39 -0700 |
commit | d4b337f89d316220e6ee6d5a1adf1b6b9d3b4cb4 (patch) | |
tree | 65b39a0e7cdeebe68880806cd65360f2852276b7 | |
parent | e6253489299b5553dbe32f4a9aa9b3433371275b (diff) | |
download | qtlocation-mapboxgl-upstream/always-avoid-edges.tar.gz |
always setupstream/always-avoid-edges
-rw-r--r-- | src/mbgl/text/placement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/placement.cpp b/src/mbgl/text/placement.cpp index 8d43a14d91..2cda9152a8 100644 --- a/src/mbgl/text/placement.cpp +++ b/src/mbgl/text/placement.cpp @@ -164,7 +164,7 @@ void Placement::placeBucket( auto partiallyEvaluatedIconSize = bucket.iconSizeBinder->evaluateForZoom(state.getZoom()); optional<CollisionTileBoundaries> avoidEdges; - if (mapMode == MapMode::Tile && (layout.get<style::SymbolAvoidEdges>() != false)) { + if (mapMode == MapMode::Tile) { avoidEdges = collisionIndex.projectTileBoundaries(posMatrix); } |