return d3.rebind(context, dispatch, 'on');
};
-iD.version = '1.5.0';
+iD.version = '1.5.1';
(function() {
var detected = {};
})();
iD.countryCode = function() {
var countryCode = {},
- endpoint = 'http://nominatim.openstreetmap.org/reverse?';
+ endpoint = 'https://nominatim.openstreetmap.org/reverse?';
if (!iD.countryCode.cache) {
iD.countryCode.cache = rbush();
return o;
}));
- input.attr('placeholder', function() {
- if (opts.length < 3) return '';
- return opts.slice(0, 3).join(', ') + '...';
- });
+ input.attr('placeholder', field.placeholder() ||
+ (opts.length < 3 ? '' : opts.slice(0, 3).join(', ') + '...'));
}
}
"toilets/disposal",
"operator",
"building_area",
- "fee",
- "access_simple"
+ "access_toilets"
],
"geometry": [
"point",
}
},
"access_simple": {
+ "key": "access",
+ "type": "combo",
+ "label": "Access",
+ "placeholder": "yes",
+ "options": [
+ "permissive",
+ "private",
+ "customers",
+ "no"
+ ]
+ },
+ "access_toilets": {
"key": "access",
"type": "combo",
"label": "Access",
}
},
"access_simple": {
+ "label": "Access",
+ "placeholder": "yes"
+ },
+ "access_toilets": {
"label": "Access"
},
"address": {