diff options
author | Ansis Brammanis <ansis@mapbox.com> | 2017-11-02 13:02:05 -0400 |
---|---|---|
committer | Ansis Brammanis <ansis@mapbox.com> | 2017-11-02 13:02:05 -0400 |
commit | c49e78894fdc5674faddad2719e30cf1c282ee10 (patch) | |
tree | 3b96cfac6ce767f799db8fcea6bb2ab4b0a9d6a1 | |
parent | 5afac89cb623f33a7fe6660b5820d9b1ddffecc5 (diff) | |
download | qtlocation-mapboxgl-upstream/start-collision-crosstile.tar.gz |
fix collisionsupstream/start-collision-crosstile
-rw-r--r-- | src/mbgl/text/cross_tile_symbol_index.cpp | 1 |
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 |