Use strings, like with other indices
This commit is contained in:
@@ -363,7 +363,7 @@ ol.structs.RTree = function(opt_width) {
|
|||||||
// walk all the way in to the leaf to know that we don't need it
|
// walk all the way in to the leaf to know that we don't need it
|
||||||
if (!goog.isDef(opt_type) || lTree.type == opt_type) {
|
if (!goog.isDef(opt_type) || lTree.type == opt_type) {
|
||||||
var obj = lTree.leaf;
|
var obj = lTree.leaf;
|
||||||
result[goog.getUid(obj)] = obj;
|
result[goog.getUid(obj).toString()] = obj;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result.push(lTree);
|
result.push(lTree);
|
||||||
|
|||||||
Reference in New Issue
Block a user