Exclude barrier from areaKeys

Because like the others, they are generally
lines but can occasionally be areas or lines
This commit is contained in:
Bryan Housel
2015-04-22 15:13:48 -04:00
parent 995a9f4d50
commit 8bacf9858a
+1 -1
View File
@@ -53,7 +53,7 @@ iD.presets = function() {
// and the subkeys form the blacklist.
all.areaKeys = function() {
var areaKeys = {},
ignore = ['highway', 'footway', 'railway', 'type'],
ignore = ['barrier', 'highway', 'footway', 'railway', 'type'],
presets = _.reject(all.collection, 'suggestion');
// whitelist