aboutsummaryrefslogtreecommitdiff
path: root/examples/jsonp.html
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-06 20:58:09 +0100
committerJochen Topf <jochen@topf.org>2013-01-06 20:58:09 +0100
commitd80c2ce840a6d50e7809c8738afc9f09a02379f3 (patch)
treec6b7b73e3da5e82ba998daf21bbfab482ca2d4fb /examples/jsonp.html
parentc47f73c31d29ad862fa1bd4b08e14d750ab8f93e (diff)
downloadtaginfo-d80c2ce840a6d50e7809c8738afc9f09a02379f3.tar
taginfo-d80c2ce840a6d50e7809c8738afc9f09a02379f3.tar.gz
Switched all remaining API calls to v4
Diffstat (limited to 'examples/jsonp.html')
-rw-r--r--examples/jsonp.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/jsonp.html b/examples/jsonp.html
index c3f243f..923d650 100644
--- a/examples/jsonp.html
+++ b/examples/jsonp.html
@@ -9,7 +9,7 @@ function jsonp(data) {
result = data;
}
</script>
- <script src="http://taginfo.openstreetmap.org/api/2/db/keys?include=prevalent_values&page=1&rp=15&sortname=count_all&sortorder=desc&qtype=key&callback=jsonp"></script>
+ <script src="http://taginfo.openstreetmap.org/api/4/keys/all?page=1&rp=15&sortname=count_all&sortorder=desc&qtype=key&callback=jsonp"></script>
<script>
var key = result.data[0].key;
alert(key);