diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-06-02 10:31:20 -0400 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2015-06-02 11:33:03 -0400 |
commit | 4e74867ba983d7503213ddad6dd5136d3735386a (patch) | |
tree | b7cff1521e5d95ec868e9e5c422edddb2031852f /src | |
parent | 956ad85d267c34768796d824c1d4a36f905bbabf (diff) | |
download | qtlocation-mapboxgl-4e74867ba983d7503213ddad6dd5136d3735386a.tar.gz |
use source zoom level for tile loading errors
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/vector_tile_data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/vector_tile_data.cpp b/src/mbgl/map/vector_tile_data.cpp index 4cb657038d..799eeb80c8 100644 --- a/src/mbgl/map/vector_tile_data.cpp +++ b/src/mbgl/map/vector_tile_data.cpp @@ -68,7 +68,7 @@ void VectorTileData::parse() { } } catch (const std::exception& ex) { std::stringstream message; - message << "Failed to parse [" << int(id.z) << "/" << id.x << "/" << id.y << "]: " << ex.what(); + message << "Failed to parse [" << int(id.sourceZ) << "/" << id.x << "/" << id.y << "]: " << ex.what(); setError(message.str()); } } |