[core] move TileData and dependents to new *TileID classes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user