Set correct extent for multipoint points in Snap

This commit is contained in:
Maximilian Krög
2022-03-06 17:10:33 +01:00
parent b50b9bd887
commit 444763f47b
+1 -1
View File
@@ -625,7 +625,7 @@ class Snap extends PointerInteraction {
feature: feature, feature: feature,
segment: [point], segment: [point],
}; };
this.rBush_.insert(geometry.getExtent(), segmentData); this.rBush_.insert(boundingExtent(segmentData.segment), segmentData);
}); });
} }