Commit Graph

13 Commits

Author SHA1 Message Date
Bryan Housel
af0be9a59b remove unused indexed field property 2014-07-21 19:06:24 -04:00
John Firebaugh
7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh
cb1972d76f Make field reference more flexible
Will need to support {"rtype": "restriction"} for turn
restriction field.
2014-05-14 17:22:24 -07:00
Martin Raifer
4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00
John Firebaugh
b5f0ae596f Special case 'yes' values for type fields (#1876) 2013-10-09 17:10:49 -07:00
John Firebaugh
4bdd49b5fc Adjustments to multipolygon preset
* It shouldn't appear as a search result for simple areas.
* Changing to another area preset shouldn't remove the
  type=multipolygon tag.
* It shouldn't be preferred to the Building preset, which
  matches with score 0.5.

Fixes #1546.
2013-05-29 16:00:34 -07:00
John Firebaugh
e5dd800aff Allow selecting a relation 2013-04-26 11:34:24 -07:00
Ansis Brammanis
dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ansis Brammanis
bae7b13425 Localize maxspeed field (mph and km/h) 2013-04-01 19:36:39 -04:00
Ansis Brammanis
e82df13a28 wikipedia input field 2013-04-01 15:55:37 -04:00
Tom MacWright
1632edadae Add and allow placeholder field item 2013-03-22 18:03:43 -04:00
John Firebaugh
53820dc75d Validate preset json (fixes #1042) 2013-03-19 15:01:26 -07:00