diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-10 11:47:54 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-10 14:50:56 +0200 |
commit | ec70125e41e4e9db5f1d0941c0129d80f5792896 (patch) | |
tree | 639654a3dfda72cf0c1c1a2a0a353fe0b484e45e /src/mbgl/annotation/shape_annotation_impl.cpp | |
parent | bdcbceff8002d6a0ec2ce6c1d2518b03c007ddf6 (diff) | |
download | qtlocation-mapboxgl-ec70125e41e4e9db5f1d0941c0129d80f5792896.tar.gz |
[core] move TileData and dependents to new *TileID classes
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp index a233e0358e..4ed06a5540 100644 --- a/src/mbgl/annotation/shape_annotation_impl.cpp +++ b/src/mbgl/annotation/shape_annotation_impl.cpp @@ -80,7 +80,7 @@ void ShapeAnnotationImpl::updateStyle(Style& style) { } } -void ShapeAnnotationImpl::updateTile(const TileID& tileID, AnnotationTile& tile) { +void ShapeAnnotationImpl::updateTile(const CanonicalTileID& tileID, AnnotationTile& tile) { static const double baseTolerance = 4; if (!shapeTiler) { @@ -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.sourceZ, tileID.x, tileID.y); + const auto& shapeTile = shapeTiler->getTile(tileID.z, tileID.x, tileID.y); if (!shapeTile) return; |