summaryrefslogtreecommitdiff
path: root/src/mbgl/util/tileset.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 12:46:29 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 11:28:34 -0700
commitd48333f26d9111d8f4f8420b477c36cece0d14a5 (patch)
tree24d70308b51e9ab29622a402e5f21925780ad1d5 /src/mbgl/util/tileset.hpp
parent41760b5696e71c3d201d94d5c8b2423c1f348446 (diff)
downloadqtlocation-mapboxgl-d48333f26d9111d8f4f8420b477c36cece0d14a5.tar.gz
[core] Remove unused and mis-parsed properties from Tileset
latitude and longitude were reversed. Fortunately they were not used.
Diffstat (limited to 'src/mbgl/util/tileset.hpp')
-rw-r--r--src/mbgl/util/tileset.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mbgl/util/tileset.hpp b/src/mbgl/util/tileset.hpp
index 7e53850dfe..8a7fbe9b73 100644
--- a/src/mbgl/util/tileset.hpp
+++ b/src/mbgl/util/tileset.hpp
@@ -1,10 +1,7 @@
#pragma once
-#include <mbgl/util/constants.hpp>
#include <mbgl/util/range.hpp>
-#include <mbgl/util/geo.hpp>
-#include <array>
#include <vector>
#include <string>
#include <cstdint>
@@ -16,9 +13,8 @@ public:
std::vector<std::string> tiles;
Range<uint8_t> zoomRange { 0, 22 };
std::string attribution;
- LatLng center;
- double zoom = 0;
- LatLngBounds bounds = LatLngBounds::world();
+
+ // TileJSON also includes center, zoom, and bounds, but they are not used by mbgl.
};
} // namespace mbgl