From b6a181097c3e7c3168be3575d5d7e95820fc74ba Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 30 Mar 2016 12:20:55 -0700 Subject: [core] fix reparsing overscaled geojson tiles fix #3838 --- src/mbgl/annotation/shape_annotation_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp') 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(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; -- cgit v1.2.1