Reduce overeager hiding call

This commit is contained in:
Tom MacWright
2012-12-04 16:37:22 -05:00
parent e2b5a3f8ab
commit d5cc764a1d

View File

@@ -162,9 +162,7 @@ iD.Map = function() {
var filter = only ?
function(d) { return only[d.id]; } : function() { return true; };
if (all.length > 2000) {
return hideVector();
}
if (all.length > 200000) return hideVector();
for (var i = 0; i < all.length; i++) {
var a = all[i];