Fixes nominatim API change
这个提交包含在:
父节点
2a2237b951
当前提交
7f785862aa
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -1180,7 +1180,7 @@ $(document).on('keypress',function(e) {
|
|||
async: false,
|
||||
type: 'GET',
|
||||
dataType: "json",
|
||||
url: "https://nominatim.openstreetmap.org/search/?city=" + $(this).val() + "&format=json&addressdetails=1&limit=1",
|
||||
url: "https://nominatim.openstreetmap.org/?city=" + $(this).val() + "&format=json&addressdetails=1&limit=1",
|
||||
data: {},
|
||||
success: function (data) {
|
||||
if (typeof data[0].lat !== 'undefined') {
|
||||
|
|
|
|||
正在加载…
在新工单中引用