summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-08-07 14:45:48 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-08-08 12:53:32 +0300
commit15a26231474d08e3884e424601b609c53d7ef086 (patch)
treed71c8c3edd53aadbbe2f29b4d8109055b6c62e1b /include
parentfd73dea05e645041cf27a28ba67ce37eb6d4c6bc (diff)
downloadqtlocation-mapboxgl-15a26231474d08e3884e424601b609c53d7ef086.tar.gz
[core] Add lineMetrics to GeoJSONOptions
This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/sources/geojson_source.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp
index 372e7c7a78..a03b910279 100644
--- a/include/mbgl/style/sources/geojson_source.hpp
+++ b/include/mbgl/style/sources/geojson_source.hpp
@@ -18,6 +18,7 @@ struct GeoJSONOptions {
uint16_t tileSize = util::tileSize;
uint16_t buffer = 128;
double tolerance = 0.375;
+ bool lineMetrics = false;
// Supercluster options
bool cluster = false;