diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-10-23 16:21:35 -0700 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2017-10-24 13:24:22 -0700 |
commit | 64230853645d0d914a3dd9faa40d1d7574a026a8 (patch) | |
tree | 3150eac8be69721d1f26cfd163766e9708f1f80c /src/mbgl/geometry/feature_index.cpp | |
parent | 95860dd13360de44c0248ce0bd628a29099d1af6 (diff) | |
download | qtlocation-mapboxgl-64230853645d0d914a3dd9faa40d1d7574a026a8.tar.gz |
Initial implementation: add support for circle geometries to GridIndex.
Modify FeatureIndex to use new interface.
Diffstat (limited to 'src/mbgl/geometry/feature_index.cpp')
-rw-r--r-- | src/mbgl/geometry/feature_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/geometry/feature_index.cpp b/src/mbgl/geometry/feature_index.cpp index 1adb933e44..f7dbbfb8b3 100644 --- a/src/mbgl/geometry/feature_index.cpp +++ b/src/mbgl/geometry/feature_index.cpp @@ -18,7 +18,7 @@ namespace mbgl { FeatureIndex::FeatureIndex() - : grid(util::EXTENT, 16, 0) { + : grid(util::EXTENT, util::EXTENT, util::EXTENT >> 5) { } void FeatureIndex::insert(const GeometryCollection& geometries, |