summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geojson_tile.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-02-22 01:06:21 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-03-01 20:58:54 +0000
commit9771b0e569d91c37ab3ac98ef8bee11c816ddc80 (patch)
tree948bf1c460c865e8403751cd340fac6a9464cd06 /src/mbgl/tile/geojson_tile.hpp
parentfcaafcc428f932e36e195e6801855344798ca33e (diff)
downloadqtlocation-mapboxgl-9771b0e569d91c37ab3ac98ef8bee11c816ddc80.tar.gz
[core] Use GeometryTileFeature::defaultExtent by default
GeoJSONTile and AnnotationTile don't need to reimplement getExtent() if they use the same default value. This also helps point and shape annotations to avoid using raw values.
Diffstat (limited to 'src/mbgl/tile/geojson_tile.hpp')
-rw-r--r--src/mbgl/tile/geojson_tile.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/tile/geojson_tile.hpp b/src/mbgl/tile/geojson_tile.hpp
index 6f3cbc10d1..ce9c643de2 100644
--- a/src/mbgl/tile/geojson_tile.hpp
+++ b/src/mbgl/tile/geojson_tile.hpp
@@ -25,7 +25,6 @@ public:
FeatureType getType() const override;
optional<Value> getValue(const std::string&) const override;
GeometryCollection getGeometries() const override;
- uint32_t getExtent() const override { return 4096; }
private:
const FeatureType type;