summaryrefslogtreecommitdiff
path: root/include/mbgl/util
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-10 11:47:54 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-10 14:50:56 +0200
commitec70125e41e4e9db5f1d0941c0129d80f5792896 (patch)
tree639654a3dfda72cf0c1c1a2a0a353fe0b484e45e /include/mbgl/util
parentbdcbceff8002d6a0ec2ce6c1d2518b03c007ddf6 (diff)
downloadqtlocation-mapboxgl-ec70125e41e4e9db5f1d0941c0129d80f5792896.tar.gz
[core] move TileData and dependents to new *TileID classes
Diffstat (limited to 'include/mbgl/util')
-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; }