From 387f37d035d08a1832ad693e8d9401d7f29857bd Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 29 Mar 2016 15:30:31 -0700 Subject: [core] increase geojson buffer size to match -js --- src/mbgl/annotation/shape_annotation_impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mbgl/annotation') 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(features, options); } -- cgit v1.2.1