天地图地址转经纬度服务API是一类简单的HTTP/HTTPS接口,提供将坐标点(经纬度)转换为结构化的地址信息的功能。使用地址转经纬度服务前您需要申请Key。 本接口需到天地图官网购买:http://lbs.tianditu.gov.cn/server/search.html
| 参数名称 | 类型 | 示例值 | 必须 | 描述 |
|---|---|---|---|---|
| content-type | String | application/x-www-form-urlencoded | 否 |
| 参数名称 | 类型 | 示例值 | 必须 | 描述 |
|---|---|---|---|---|
| lon | String | 116.37304 | 否 | 坐标的x值 |
| lat | String | 39.92594 | 否 | 坐标的y值 |
| ver | String | 1 | 否 | 接口版本 |
| tk | String | - | 是 | 您的服务器端密钥 |
showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见。