summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry/feature_index.cpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-10-23 16:21:35 -0700
committerChris Loer <chris.loer@mapbox.com>2017-10-24 13:24:22 -0700
commit64230853645d0d914a3dd9faa40d1d7574a026a8 (patch)
tree3150eac8be69721d1f26cfd163766e9708f1f80c /src/mbgl/geometry/feature_index.cpp
parent95860dd13360de44c0248ce0bd628a29099d1af6 (diff)
downloadqtlocation-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.cpp2
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,