Use strings, like with other indices

This commit is contained in:
ahocevar
2013-05-19 11:16:24 +02:00
parent 2ff2e85fbb
commit 958ee7af51

View File

@@ -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
if (!goog.isDef(opt_type) || lTree.type == opt_type) {
var obj = lTree.leaf;
result[goog.getUid(obj)] = obj;
result[goog.getUid(obj).toString()] = obj;
}
} else {
result.push(lTree);