Skip to content

Commit 3f4b9f1

Browse files
committed
sort Geometries before findInList
1 parent fdf2708 commit 3f4b9f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layer/OverlayLayer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ class OverlayLayer extends Layer {
555555
if (len === 0) {
556556
return -1;
557557
}
558+
this._sortGeometries();
558559
let low = 0,
559560
high = len - 1,
560561
middle;

0 commit comments

Comments
 (0)