diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-12-22 16:27:31 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-01-02 20:17:15 +0100 |
commit | 498dbf27b9fc49254471f6251349bb14f25a150e (patch) | |
tree | 7a44c410c780ade45a7d1b27d82a0c87827b7bc0 /src/mbgl/annotation/shape_annotation_impl.hpp | |
parent | 33faa3811e1833ef99e7e9b5be835793c81892f7 (diff) | |
download | qtlocation-mapboxgl-498dbf27b9fc49254471f6251349bb14f25a150e.tar.gz |
[core] don't tie Annotation geometries to Map maxzoom
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.hpp')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.hpp b/src/mbgl/annotation/shape_annotation_impl.hpp index caf2cff1a5..3e28221f7b 100644 --- a/src/mbgl/annotation/shape_annotation_impl.hpp +++ b/src/mbgl/annotation/shape_annotation_impl.hpp @@ -17,7 +17,7 @@ class CanonicalTileID; class ShapeAnnotationImpl { public: - ShapeAnnotationImpl(const AnnotationID, const uint8_t maxZoom); + ShapeAnnotationImpl(const AnnotationID); virtual ~ShapeAnnotationImpl() = default; virtual void updateStyle(style::Style::Impl&) const = 0; @@ -26,7 +26,6 @@ public: void updateTileData(const CanonicalTileID&, AnnotationTileData&); const AnnotationID id; - const uint8_t maxZoom; const std::string layerID; std::unique_ptr<mapbox::geojsonvt::GeoJSONVT> shapeTiler; }; |