diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2016-03-29 15:30:31 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2016-03-30 13:13:53 -0700 |
commit | 387f37d035d08a1832ad693e8d9401d7f29857bd (patch) | |
tree | be5ea66bb7d8d0f5403d733382616bcb7c4adb4d /src/mbgl/annotation/shape_annotation_impl.cpp | |
parent | ff7cdb1ba5c93f51901dcab940ee42d863606f35 (diff) | |
download | qtlocation-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.cpp | 3 |
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); } |