diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2016-03-30 12:20:55 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2016-03-30 13:57:47 -0700 |
commit | b6a181097c3e7c3168be3575d5d7e95820fc74ba (patch) | |
tree | 4f11720a5c0438176ab267dac9691597a3c4c531 /src/mbgl/annotation/shape_annotation_impl.cpp | |
parent | 8e9e779f2fc8b7a8fa44204870afad51b87eb703 (diff) | |
download | qtlocation-mapboxgl-b6a181097c3e7c3168be3575d5d7e95820fc74ba.tar.gz |
[core] fix reparsing overscaled geojson tiles
fix #3838
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp index c333492810..cac5fa0725 100644 --- a/src/mbgl/annotation/shape_annotation_impl.cpp +++ b/src/mbgl/annotation/shape_annotation_impl.cpp @@ -114,7 +114,7 @@ void ShapeAnnotationImpl::updateTile(const TileID& tileID, AnnotationTile& tile) shapeTiler = std::make_unique<mapbox::geojsonvt::GeoJSONVT>(features, options); } - const auto& shapeTile = shapeTiler->getTile(tileID.z, tileID.x, tileID.y); + const auto& shapeTile = shapeTiler->getTile(tileID.sourceZ, tileID.x, tileID.y); if (!shapeTile) return; |