diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-05-11 13:54:05 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-05-11 13:54:05 -0700 |
commit | 1a030e7c3347f08329d2787cde37cfa0958baad4 (patch) | |
tree | e9ec309eda3de6edc411824e76df632730d41064 /src/mbgl/tile/geometry_tile.hpp | |
parent | 5f1144f05a8391cf2c01dc7a67312a27ef32805b (diff) | |
download | qtlocation-mapboxgl-1a030e7c3347f08329d2787cde37cfa0958baad4.tar.gz |
[core] Normalize tile coordinates in VectorTile (#4966)
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
Diffstat (limited to 'src/mbgl/tile/geometry_tile.hpp')
-rw-r--r-- | src/mbgl/tile/geometry_tile.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mbgl/tile/geometry_tile.hpp b/src/mbgl/tile/geometry_tile.hpp index 923585028c..676c18e4c9 100644 --- a/src/mbgl/tile/geometry_tile.hpp +++ b/src/mbgl/tile/geometry_tile.hpp @@ -34,15 +34,12 @@ using GeometryCollection = std::vector<GeometryCoordinates>; class GeometryTileFeature : private util::noncopyable { public: - static const uint32_t defaultExtent = util::EXTENT; - virtual ~GeometryTileFeature() = default; virtual FeatureType getType() const = 0; virtual optional<Value> getValue(const std::string& key) const = 0; virtual Feature::property_map getProperties() const { return Feature::property_map(); } virtual optional<uint64_t> getID() const { return {}; } virtual GeometryCollection getGeometries() const = 0; - virtual uint32_t getExtent() const { return defaultExtent; } }; class GeometryTileLayer : private util::noncopyable { |