Bryan Housel
0720b03f66
In Taginfo results sort keys w ':' below keys w/o ':' ( closes #2376 )
2015-12-20 01:12:31 -05:00
Bryan Housel
b892b8c156
Adjust to new taginfo wiki_pages API call ( closes #2844 )
...
Also decouple tag_reference.js from taginfo.js service
(no need to have special callback semantics just to retry the call w/o value)
2015-12-02 11:44:00 -05:00
Bryan Housel
c592acb759
Improve autocompletion for raw tag editor ( closes #2748 )
...
* Don't shorten the user's query
* Drop pouplar key threshold from 10000 to 5000
* Always show key if it has a wiki page (`d.in_wiki`)
2015-09-27 22:39:41 -04:00
M1dgard
41fd5e07d5
Correct coding style
2015-09-08 16:19:55 +02:00
M1dgard
9248ad7d5b
Make raw tag editor show docs for key=value ( closes #2754 )
...
instead of just key.
* Pass the value to iD.ui.TagReference in the `context` function of iD.ui.RawTagEditor
* Let iD.taginfo query the docs for the key when its callback returns false.
* Let the callback function defined inside iD.ui.TagReference return false when both of these are met:
* it isn't happy with the docs results AND
* it was called with its softfail argument set to true.
2015-09-08 12:04:19 +02:00
John Firebaugh
94bc5b0c3d
Don't include geometry filter for taginfo keys query ( #2333 )
2014-08-26 09:46:29 -07:00
Christian Schwarz
16a2449f0a
Use https to access nominatim ( fixes #2281 )
2014-07-10 08:36:40 +02:00
Christian Schwarz
13c1711d68
Switched to Nominatim api for now
2014-06-09 20:22:56 +02:00
Christian Schwarz
b8ec19356f
Updated country code endpoint
2014-06-05 21:32:14 +02:00
Christian Schwarz
49eae8e389
Switched to a custom country code service
2014-06-05 20:30:12 +02:00
John Firebaugh
69960d75bd
Use https where supported
...
Refs #2129
2014-02-19 09:40:22 -08:00
John Firebaugh
5f7872ba27
Bump taginfo result count to 25
2013-11-19 12:24:29 -08:00
Minh Nguyễn
77c7091cf2
Show relation documentation for relation presets
...
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages
Fixes #1862 .
2013-09-30 10:35:00 -07:00
John Firebaugh
6dc3aa269d
Include low-frequency tag values if they have a wiki entry
2013-08-10 10:56:44 -07:00
John Firebaugh
67a194f35f
Fix taginfo caching
2013-05-26 21:30:36 -07:00
John Firebaugh
09c7a7833c
Fix #1433
2013-05-07 19:25:18 -07:00
Tom MacWright
856464cb77
Minor jshint fix
2013-04-22 15:38:41 -04:00
Ansis Brammanis
6636d9ace4
fill in localizations using wikipedia
...
If a feature has a wikipedia tag, then all
translated page titles are fetched. If a user
starts adding a localized name for a language with
an available translation, that translation gets
filled in automatically.
2013-04-16 17:43:39 -04:00
Ansis Brammanis
e82df13a28
wikipedia input field
2013-04-01 15:55:37 -04:00
Tom MacWright
ba45582e3c
Removing unused arguments
2013-02-27 17:30:05 -05:00
Ansis Brammanis
96c60311ad
Add preset descriptions via taginfo
2013-02-27 12:04:05 -05:00
Ansis Brammanis
a32858caa5
Only debounce taginfo for taglist autocompletion
2013-02-26 12:39:35 -05:00
Ansis Brammanis
eb1113f058
Remove original taginfo debouce
...
and shorten key/value queries to 3 chars to prevent
unnecessary requests. Assumption is that 3 chars is
specific enough
2013-02-25 16:16:26 -05:00
Ansis Brammanis
24ae1ecd63
caching and debouncing at the taginfo level
2013-02-25 15:39:00 -05:00
Ansis Brammanis
95e6b840ee
Fix key reference
2013-02-13 13:14:57 -05:00
Tom MacWright
e5ad28feb7
JShint fixups
2013-02-04 12:10:23 -05:00
Brandon Liu
48d93f2f38
tag autocomplete can filter keys by element type.
2013-01-16 23:20:56 -08:00
Tom MacWright
ef1af7a731
Only show tags that appear in greater than a percentage of cases.
2013-01-16 14:51:34 -05:00
Ansis Brammanis
5cfbff3a61
remove wiki.js
2013-01-10 13:35:58 -05:00
Ansis Brammanis
b9cd9193c3
update to taginfo api v4
2013-01-10 13:25:01 -05:00
Tom MacWright
3b5f6dd8bd
Support images from the wiki, adds d3.jsonp extension.
2013-01-09 11:31:53 -05:00
Tom MacWright
a293691643
Move taginfo into service
2013-01-09 10:29:42 -05:00