如何仅在英语中获得HERE反向地址解析API响应?

问题描述

我正在使用Here map反向地理编码api服务获取用户的地址,当前城市名称和国家名称

https://reverse.geocoder.ls.hereapi.com/6.2/reversegeocode.json?prox=25.0841817%2C55.140879&mode=retrieveAddresses&maxresults=1&gen=9&apiKey=XXXXXXXXXXXXXXXXX&lang=en-US

我只想用英语回答,但是当我在url上方打上我要以搜索位置国家/地区语言获取地址时,我只想用英语回答所有问题。

返回Json响应:

{
  "Response": {
    "MetaInfo": {
      "Timestamp": "2020-11-12T08:17:37.068+0000","NextPage@R_633_4045@ion": "2"
    },"View": [
      {
        "_type": "SearchResultsViewType","ViewId": 0,"Result": [
          {
            "Relevance": 1,"distance": -32.1,"Direction": 43.7,"MatchLevel": "district","MatchQuality": {
              "Country": 1,"County": 1,"City": 1,"district": 1
            },"Location": {
              "LocationId": "NT_f5fshtjWjcd5HaTtlbrNsB","LocationType": "area","displayPosition": {
                "Latitude": 25.09041,"Longitude": 55.14745
              },"MapView": {
                "TopLeft": {
                  "Latitude": 25.26523,"Longitude": 55.11917
                },"Bottomright": {
                  "Latitude": 25.06368,"Longitude": 55.34842
                }
              },"Address": {
                "Label": "مرسى دبي,دبي,الإمارات العربية المتحدة","Country": "ARE","County": "دبي","City": "دبي","district": "مرسى دبي","AdditionalData": [
                  {
                    "value": "الإمارات العربية المتحدة","key": "CountryName"
                  },{
                    "value": "دبي","key": "CountyName"
                  }
                ]
              },"MapReference": {
                "ReferenceId": "1173016724","MapId": "VMAM20136","MapVersion": "Q1/2020","MapReleaseDate": "2020-10-22","SideOfStreet": "neither","CountryId": "21397206","CountyId": "21399077","CityId": "21399080","districtId": "21457153"
              }
            }
          }
        ]
      }
    ]
  }
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)