经度纬度地址查询

GET
https://v1.nsuuu.com/api/Latitude

接口描述

通过经纬度查询归属地信息。

请求参数

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: 'https://v1.nsuuu.com/api/Latitude?lng=xx&lat=xx'
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "message": "Success",
  "data": {
    "province": "北京市",
    "provinceRemoteId": 110000,
    "city": "北京市",
    "cityRemoteId": 110000,
    "district": "东城区",
    "districtRemoteId": 110101,
    "locationFullName": "北京市北京市北京市东城区交道口街道辛安里南锣鼓巷"
  },
  "request_id": "75023e1440fb9d51dd23e625"
}