经纬度解析
输出指定经纬度地址详细信息

接口地址: https://api.ahfi.cn/api/mapjx

返回格式: JSON

请求方式: GET

请求示例: https://api.ahfi.cn/api/mapjx?lng=113.63141920733915&lat=34.75343885045448

请求参数说明:

名称 必填 类型 说明
lng String 输出当前位置信息
lat String 输出当前位置地理名称

返回参数说明:

名称 类型 说明
city String 返回城市名称
desc String 返回当前位置名称
name String 返回附近建筑物名称
tel String 返回编号信息

返回示例:

{"status":"1","data":{"adcode":"410102","areacode":"0371","city":"郑州市","cityadcode":"410100","code":"1","country":"中国","countrycode":"CN","cross_list":[{"distance":"338.71","level":"44000, 44000","latitude":"34.75466306","crossid":"0371I49F015045189--0371I49F015045191","name":"建设东路--嵩山北路","width":"20, 20","weight":"140","direction":"East","longitude":"113.6280244"},{"distance":"338.71","level":"42000, 44000","latitude":"34.75466306","crossid":"0371I49F015045101--0371I49F015045191","name":"建设西路--嵩山北路","width":"24, 20","weight":"160","direction":"East","longitude":"113.6280244"},{"distance":"338.71","level":"42000, 44000","latitude":"34.75466306","crossid":"0371I49F015045101--0371I49F015045189","name":"建设西路--建设东路","width":"24, 20","weight":"160","direction":"East","longitude":"113.6280244"}],"desc":"河南省,郑州市,中原区","district":"中原区","districtadcode":"410102","hn":"26号院","message":"Successful.","poi_list":[{"parent":"B01730799J","address":"嵩山北路与建设东路交叉口","distance":"62","latitude":"34.753675","weight":"0.0","type":"风景名胜;公园广场;植物园","typecode":"110103","f_nona":"","childtype":"301","name":"碧沙岗-木兰园","tel":"0371-67882871","towards_angle":"","poiid":"B0FFFRD3C0","entrances":[{"latitude":"34.753867","longitude":"113.63203"}],"end_poi_extension":"2","direction":"East","longitude":"113.632041"},{"parent":"","address":"建设路31号碧沙岗公园内","distance":"197","latitude":"34.751749","weight":"0.0","type":"科教文化服务;科研机构;科研机构","typecode":"141300","f_nona":"","childtype":"","name":"郑州市文物考古研究院(建设东路)","tel":"0371-67974250","towards_angle":"","poiid":"B017316JAM","entrances":[{"latitude":"34.751847","longitude":"113.630801"}],"end_poi_extension":"2","direction":"South","longitude":"113.630759"}

错误码格式说明:

名称 类型 说明

代码示例: