summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/geo.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/mbgl/util/geo.hpp b/include/mbgl/util/geo.hpp
index 6aecea33fb..512a9f833d 100644
--- a/include/mbgl/util/geo.hpp
+++ b/include/mbgl/util/geo.hpp
@@ -11,7 +11,8 @@
namespace mbgl {
-class TileID;
+class CanonicalTileID;
+class UnwrappedTileID;
using ScreenCoordinate = mapbox::geometry::point<double>;
@@ -49,7 +50,8 @@ public:
}
// Constructs a LatLng object with the top left position of the specified tile.
- LatLng(const TileID& id);
+ LatLng(const CanonicalTileID& id);
+ LatLng(const UnwrappedTileID& id);
};
inline bool operator==(const LatLng& a, const LatLng& b) {
@@ -100,7 +102,7 @@ public:
}
// Constructs a LatLngBounds object with the tile's exact boundaries.
- LatLngBounds(const TileID&);
+ LatLngBounds(const CanonicalTileID&);
double south() const { return sw.latitude; }
double west() const { return sw.longitude; }