Fix infinite loop bug in ol.structs.RBush
This commit is contained in:
@@ -614,7 +614,8 @@ ol.structs.RBush.prototype.remove_ = function(extent, value) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
++index;
|
||||
node = path.pop();
|
||||
index = indexes.pop();
|
||||
} else if (index < node.children.length) {
|
||||
child = node.children[index];
|
||||
if (ol.extent.containsExtent(child.extent, extent)) {
|
||||
|
||||
Reference in New Issue
Block a user