summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnsis Brammanis <ansis@mapbox.com>2017-11-02 13:02:05 -0400
committerAnsis Brammanis <ansis@mapbox.com>2017-11-02 13:02:05 -0400
commitc49e78894fdc5674faddad2719e30cf1c282ee10 (patch)
tree3b96cfac6ce767f799db8fcea6bb2ab4b0a9d6a1
parent5afac89cb623f33a7fe6660b5820d9b1ddffecc5 (diff)
downloadqtlocation-mapboxgl-upstream/start-collision-crosstile.tar.gz
-rw-r--r--src/mbgl/text/cross_tile_symbol_index.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/text/cross_tile_symbol_index.cpp b/src/mbgl/text/cross_tile_symbol_index.cpp
index fc94ed3501..73798b34af 100644
--- a/src/mbgl/text/cross_tile_symbol_index.cpp
+++ b/src/mbgl/text/cross_tile_symbol_index.cpp
@@ -28,7 +28,6 @@ Point<double> TileLayerIndex::getScaledCoordinates(SymbolInstance& symbolInstanc
void TileLayerIndex::findMatches(std::vector<SymbolInstance>& symbolInstances, const OverscaledTileID& newCoord) {
float tolerance = coord.canonical.z < newCoord.canonical.z ? 1 : std::pow(2, coord.canonical.z - newCoord.canonical.z);
- tolerance = 100;
for (auto& symbolInstance : symbolInstances) {
// already has a match, skip