summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/shape_annotation_impl.cpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2016-03-29 15:30:31 -0700
committerAnsis Brammanis <brammanis@gmail.com>2016-03-30 13:13:53 -0700
commit387f37d035d08a1832ad693e8d9401d7f29857bd (patch)
treebe5ea66bb7d8d0f5403d733382616bcb7c4adb4d /src/mbgl/annotation/shape_annotation_impl.cpp
parentff7cdb1ba5c93f51901dcab940ee42d863606f35 (diff)
downloadqtlocation-mapboxgl-387f37d035d08a1832ad693e8d9401d7f29857bd.tar.gz
[core] increase geojson buffer size to match -js
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp')
-rw-r--r--src/mbgl/annotation/shape_annotation_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp
index 9adebf177b..c333492810 100644
--- a/src/mbgl/annotation/shape_annotation_impl.cpp
+++ b/src/mbgl/annotation/shape_annotation_impl.cpp
@@ -108,7 +108,8 @@ void ShapeAnnotationImpl::updateTile(const TileID& tileID, AnnotationTile& tile)
mapbox::geojsonvt::Options options;
options.maxZoom = maxZoom;
- options.buffer = 128u;
+ options.buffer = 255u;
+ options.extent = util::EXTENT;
options.tolerance = baseTolerance;
shapeTiler = std::make_unique<mapbox::geojsonvt::GeoJSONVT>(features, options);
}