Hi,
Preset support is now enhanced. When applying a preset:

* Fixed tags (i.e. key and value are given) are still added as usual
* Non-fixed, non-optional tags (e.g. text or combo tags) are added with
the key only. If the user saves without entering a value, it will be
removed.
* Non-fixed, optional tags are not automatically added, but considered
when the autocomplete menu is built

The autosuggest now works like this:
* automatically triggered once at least letter is entered (a threshold
of 0 is NOT supported by android, unfortunately)
* Triggered when the user clicks an already-focused input box
* Can be hidden by the back key (default behavior)

* The key autosuggest menu contains
** First, all keys that apply to the preset that was applied (if any)
** Then, all keys in presets fitting the current node type in
alphabetical order (i.e. if a key appears only in presets that can only
be applied to nodes, it will not be suggested when a way is being tagged)
** Keys that are already used are NOT offered again

* The value autosuggest contains all values, in alphabetical order, that
can be applied to the given key

An APK will be provided later.

Kind regards,
Jan

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to