summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2016-03-30 12:20:55 -0700
committerAnsis Brammanis <brammanis@gmail.com>2016-03-30 13:57:47 -0700
commitb6a181097c3e7c3168be3575d5d7e95820fc74ba (patch)
tree4f11720a5c0438176ab267dac9691597a3c4c531 /src/mbgl/annotation
parent8e9e779f2fc8b7a8fa44204870afad51b87eb703 (diff)
downloadqtlocation-mapboxgl-b6a181097c3e7c3168be3575d5d7e95820fc74ba.tar.gz
[core] fix reparsing overscaled geojson tiles
fix #3838
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r--src/mbgl/annotation/shape_annotation_impl.cpp2
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;