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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
++index;
|
node = path.pop();
|
||||||
|
index = indexes.pop();
|
||||||
} else if (index < node.children.length) {
|
} else if (index < node.children.length) {
|
||||||
child = node.children[index];
|
child = node.children[index];
|
||||||
if (ol.extent.containsExtent(child.extent, extent)) {
|
if (ol.extent.containsExtent(child.extent, extent)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user