summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2019-10-30 19:14:39 -0700
committerDane Springmeyer <dane@mapbox.com>2019-10-30 19:14:39 -0700
commitd4b337f89d316220e6ee6d5a1adf1b6b9d3b4cb4 (patch)
tree65b39a0e7cdeebe68880806cd65360f2852276b7
parente6253489299b5553dbe32f4a9aa9b3433371275b (diff)
downloadqtlocation-mapboxgl-upstream/always-avoid-edges.tar.gz
-rw-r--r--src/mbgl/text/placement.cpp2
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);
}