summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_tile.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2016-01-28 21:41:20 -0800
committerAnsis Brammanis <brammanis@gmail.com>2016-02-02 14:49:03 -0800
commit4e0d1070f623811513e6800e4ac906d69958d66a (patch)
treefa10d0d169a26f680cd6dd2ead69e42bd541ce85 /src/mbgl/annotation/annotation_tile.hpp
parentf1f53c36d0d392f83cf99859d993d70676048bdf (diff)
downloadqtlocation-mapboxgl-4e0d1070f623811513e6800e4ac906d69958d66a.tar.gz
[core] support tiles with non-4096 extents
Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else.
Diffstat (limited to 'src/mbgl/annotation/annotation_tile.hpp')
-rw-r--r--src/mbgl/annotation/annotation_tile.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/annotation/annotation_tile.hpp b/src/mbgl/annotation/annotation_tile.hpp
index 1735b3eb81..742a4114a8 100644
--- a/src/mbgl/annotation/annotation_tile.hpp
+++ b/src/mbgl/annotation/annotation_tile.hpp
@@ -17,6 +17,7 @@ public:
FeatureType getType() const override { return type; }
optional<Value> getValue(const std::string&) const override;
GeometryCollection getGeometries() const override { return geometries; }
+ uint32_t getExtent() const override { return 4096; }
const FeatureType type;
const std::unordered_map<std::string, std::string> properties;