From ec70125e41e4e9db5f1d0941c0129d80f5792896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 10 May 2016 11:47:54 +0200 Subject: [core] move TileData and dependents to new *TileID classes --- include/mbgl/util/geo.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') 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; @@ -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; } -- cgit v1.2.1