Set correct extent for multipoint points in Snap
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user